[pgpool-committers: 7999] pgpool: Fix pgpool_setup to do nothing when no new main node is availab

Tatsuo Ishii ishii at sraoss.co.jp
Wed Aug 25 11:03:02 JST 2021


Fix pgpool_setup to do nothing when no new main node is available.

When no new main node is available due to there's only 1 node
remaining, pgpool_setup tried to promote a node with node id -1.  This
is impossible. Fix is just skipping whole failover process if new main
node id is -1.

Branch
------
V4_0_STABLE

Details
-------
https://git.postgresql.org/gitweb?p=pgpool2.git;a=commitdiff;h=89b29bd1e6a9c510ccf404ca3d370320cc7de7ce

Modified Files
--------------
src/test/pgpool_setup.in | 6 ++++++
1 file changed, 6 insertions(+)



More information about the pgpool-committers mailing list