Add guc to enable send SIGSTOP to peers when backend exits abnormally
suyu.cmj <mengjuan.cmj@alibaba-inc.com>
From: 蔡梦娟(玊于) <mengjuan.cmj@alibaba-inc.com>
To: "pgsql-hackers" <pgsql-hackers@lists.postgresql.org>
Date: 2021-09-03T07:00:00Z
Lists: pgsql-hackers
Attachments
- 0001-Add-guc-to-set-SendStop.patch (application/octet-stream) patch 0001
Hi all I want to share a patch with you, in which I add a guc parameter 'enable_send_stop' to enable set the value of SendStop in postmaster.c more conveniently. SendStop enable postmaster to send SIGSTOP rather than SIGQUIT to its children when some backend dumps core, and this variable is originally set with -T parameter when start postgres, which is inconvenient to control in some scenarios. Thanks & Best Regards