[pgpool-committers: 7949] pgpool: Add new parameter to recovery_1st_stage_command and recovery_2n

Tatsuo Ishii ishii at sraoss.co.jp
Thu Aug 5 17:00:47 JST 2021


Add new parameter to recovery_1st_stage_command and recovery_2nd_stage_command.

The new parameter represents the primary (main) server host name which
is defined in backend_hostname parameter. The commands used to obtain
the host name by using hostname command. This is usually fine but in
some systems the host name returned by hostname command is not same as
backend_hostname. This brings problem to detach_false_primary feature.

Note that documentations are not completed in this commit because of
my development environment (Ubuntu 20) issue (openjade crashes). I
will push document changes later using another PC.

Discussion:
https://www.pgpool.net/pipermail/pgpool-hackers/2021-July/003943.html
https://www.pgpool.net/pipermail/pgpool-hackers/2021-July/003974.html

Branch
------
master

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

Modified Files
--------------
.../pgpool-recovery/pgpool_recovery--1.3--1.4.sql  |  9 ++++
src/sql/pgpool-recovery/pgpool_recovery--1.4.sql   | 52 ++++++++++++++++++++++
2 files changed, 61 insertions(+)



More information about the pgpool-committers mailing list