[pgpool-committers: 8001] 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:12 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_2_STABLE

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

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



More information about the pgpool-committers mailing list