Enhance lifecheck log. master
authorTatsuo Ishii
Sat, 14 Jun 2025 11:54:13 +0000 (20:54 +0900)
committerTatsuo Ishii
Sat, 14 Jun 2025 11:54:13 +0000 (20:54 +0900)
commit9fc568f00cebda8a6908c19fb6ab247e497686fe
tree26bdc05e13eb6a94fcc0df16b275ed8e245d54cd
parente5564eb541af139fe825e1563e3ca0a6d522553c
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
src/watchdog/wd_lifecheck.c