[pgpool-committers: 7577] pgpool: Improve sample scripts.
Bo Peng
pengbo at sraoss.co.jp
Mon Apr 5 23:44:39 JST 2021
Improve sample scripts.
- Empty pg_replslot directory of the standby node after running pg_rewind, because pg_replslot directory may be copied from the primary node in old PostgreSQL versions.
- While creating/dropping replication slot, access remote database using psql instead of uing ssh.
Branch
------
V4_2_STABLE
Details
-------
https://git.postgresql.org/gitweb?p=pgpool2.git;a=commitdiff;h=597a063425eea51cf9952b77d92a1d24f861f38a
Modified Files
--------------
src/sample/scripts/failover.sh.sample | 21 ++++++++---------
src/sample/scripts/follow_primary.sh.sample | 33 +++++++++++++++++++--------
src/sample/scripts/pgpool_remote_start.sample | 4 ++--
src/sample/scripts/recovery_1st_stage.sample | 20 ++++++++++------
4 files changed, 48 insertions(+), 30 deletions(-)
More information about the pgpool-committers
mailing list