[pgpool-committers: 10391] pgpool: Fix sr check and health check to reopen pool_passwd upon reload

Tatsuo Ishii ishii at postgresql.org
Tue Mar 4 21:45:13 JST 2025


Fix sr check and health check to reopen pool_passwd upon reload.

The streaming replication check and health check process forgot to
reopen pool_passwd upon reload.  If sr_check_passwd or
health_check_passwd is empty string, the password is obtained from
pool_passwd. Thus those process read outdated content of pool_passwd
upon reload.

Backpatch-through: v4.2

Branch
------
V4_6_STABLE

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

Modified Files
--------------
src/main/health_check.c                       |  6 +++++-
src/streaming_replication/pool_worker_child.c | 14 +++++++++++++-
2 files changed, 18 insertions(+), 2 deletions(-)



More information about the pgpool-committers mailing list