[pgpool-committers: 7865] pgpool: Fix follow primary command creation in pgpool_setup.
Tatsuo Ishii
ishii at sraoss.co.jp
Fri Jun 25 20:05:39 JST 2021
Fix follow primary command creation in pgpool_setup.
If the target node of the follow primary script is primary and the
server version is before PostgreSQL 12, then the follow primary
command fails because there's no recovery.conf (12 or later is fine,
because "standby.signal" and "myrecovery.conf" are created).
To fix this, if server version is before 12, rename recovery.done to
recovery.conf.
Also this should fix 034.promote_node failure with PostgreSQL 11 or
before.
Branch
------
master
Details
-------
https://git.postgresql.org/gitweb?p=pgpool2.git;a=commitdiff;h=1c3c39dcc0dbee88483b9e154c4b34166abd7005
Modified Files
--------------
src/test/pgpool_setup.in | 4 ++++
1 file changed, 4 insertions(+)
More information about the pgpool-committers
mailing list