Enhance SIGHLD handler of Pgpool-II main process.
authorTatsuo Ishii <ishii@sraoss.co.jp>
Sun, 24 Oct 2021 07:22:33 +0000 (16:22 +0900)
committerTatsuo Ishii <ishii@sraoss.co.jp>
Sun, 24 Oct 2021 07:37:24 +0000 (16:37 +0900)
commit6cf9f87412b01a22171939fa738ee1acfee50f35
treea7afff3c2eba64802dfb3c87b926235d4238ea64
parent5b7d0c4ad3971745b864401b6a638f153e5a362a
Enhance SIGHLD handler of Pgpool-II main process.

When Pgpool-II child is killed by SIGKILL signal, the SIGHLD handler
just emitted LOG level message as other signals.  But SIGKILL is an
important event, for example killed by OOM killer. So emit a WARNING
level message instead.

Per suggestion from Michail Alexakis.
Discussion: https://www.pgpool.net/pipermail/pgpool-general/2021-October/007808.html
src/main/pgpool_main.c