pgpool: Enhance lifecheck log.

From: Tatsuo Ishii <ishii(at)postgresql(dot)org>
To: pgpool-committers(at)lists(dot)postgresql(dot)org
Subject: pgpool: Enhance lifecheck log.
Date: 2025-06-14 11:58:42
Message-ID: E1uQPWz-00BU3o-2W@gothos.postgresql.org
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgpool-committers

Enhance lifecheck log.

Previously when wd_lifecheck_method = 'query', life checking prints
SQL without application name if "%a" is specified in
log_line_prefix. This commit add application_name "lifecheck_ping" to
make the log looks better. Since this changes user visible behavior,
I do not apply this to stable branches.

Discussion: [pgpool-hackers: 4603] life check log is not nice
https://www.pgpool.net/pipermail/pgpool-hackers/2025-June/004604.html

Branch
------
master

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

Modified Files
--------------
src/watchdog/wd_lifecheck.c | 8 +++++---
1 file changed, 5 insertions(+), 3 deletions(-)

Browse pgpool-committers by date

  From Date Subject
Next Message Tatsuo Ishii 2025-06-18 07:44:55 pgpool: Doc: fix load balance explanation missed Slony mode.
Previous Message Tatsuo Ishii 2025-06-14 11:30:29 pgpool: Fix heartbeat device treatment.