[pgpool-committers: 5958] pgpool: Add new arguments in pgpool_recovery function and failover_comm

Bo Peng pengbo at sraoss.co.jp
Thu Aug 8 09:45:45 JST 2019


Add new arguments in pgpool_recovery function and failover_command/failback_command/follow_master_command.

Now able to use "recovery node port number" in pgpool_recovery function.
Also the following options is added in failover_command/failback_command/follow_master_command.

- %N = old primary node hostname
- %S = old primary node port number

Branch
------
master

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

Modified Files
--------------
doc.ja/src/sgml/failover.sgml                      | 42 ++++++++++++++++++
doc.ja/src/sgml/online-recovery.sgml               |  8 ++++
doc/src/sgml/failover.sgml                         | 28 +++++++++++-
doc/src/sgml/online-recovery.sgml                  |  5 +++
src/Makefile.am                                    |  2 +
src/Makefile.in                                    |  2 +
src/main/pgpool_main.c                             | 12 +++++
src/pcp_con/recovery.c                             |  5 ++-
src/pgpool.spec                                    |  2 +
src/sample/pgpool.conf.sample                      | 48 +++++++++++---------
src/sample/pgpool.conf.sample-logical              | 40 +++++++++--------
src/sample/pgpool.conf.sample-master-slave         | 47 +++++++++++---------
src/sample/pgpool.conf.sample-replication          | 46 ++++++++++---------
src/sample/pgpool.conf.sample-stream               | 46 ++++++++++---------
src/sql/pgpool-recovery/Makefile                   |  2 +-
src/sql/pgpool-recovery/pgpool-recovery.c          | 23 +++++++---
.../pgpool-recovery/pgpool_recovery--1.1--1.2.sql  |  2 +-
.../pgpool-recovery/pgpool_recovery--1.2--1.3.sql  |  9 ++++
src/sql/pgpool-recovery/pgpool_recovery--1.2.sql   |  2 +-
src/sql/pgpool-recovery/pgpool_recovery--1.3.sql   | 51 ++++++++++++++++++++++
src/sql/pgpool-recovery/pgpool_recovery.control    |  4 +-
21 files changed, 313 insertions(+), 113 deletions(-)



More information about the pgpool-committers mailing list