Log a message when resorting to SIGKILL during shutdown/crash recovery.

Tom Lane <tgl@sss.pgh.pa.us>

Commit: 10095ca634fb39d78cfae8000489a19f4f4e27ef
Author: Tom Lane <tgl@sss.pgh.pa.us>
Date: 2020-09-11T16:24:46Z
Releases: 14.0
Log a message when resorting to SIGKILL during shutdown/crash recovery.

Currently, no useful trace is left in the logs when the postmaster
is forced to use SIGKILL to shut down children that failed to respond
to SIGQUIT.  Some questions were raised about how often that scenario
happens in the buildfarm, so let's add a LOG-level message showing
that it happened.

Discussion: https://postgr.es/m/1850884.1599601164@sss.pgh.pa.us

Files

PathChange+/−
src/backend/postmaster/postmaster.c modified +2 −0

Discussion