[pgpool-committers: 7576] 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
------
master
Details
-------
https://git.postgresql.org/gitweb?p=pgpool2.git;a=commitdiff;h=832274d0c16743a84c89855dfbd82bb168e5b232
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