Add guc to enable send SIGSTOP to peers when backend exits abnormally

From: 蔡梦娟(玊于) <mengjuan(dot)cmj(at)alibaba-inc(dot)com>
To: "pgsql-hackers" <pgsql-hackers(at)lists(dot)postgresql(dot)org>
Subject: Add guc to enable send SIGSTOP to peers when backend exits abnormally
Date: 2021-09-03 07:00:00
Message-ID: 1a53af38-851a-4ad0-9ff1-54e7b8aeca73.mengjuan.cmj@alibaba-inc.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers


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

Attachment Content-Type Size
0001-Add-guc-to-set-SendStop.patch application/octet-stream 5.1 KB

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Michael Paquier 2021-09-03 07:03:36 Re: Unused variable in TAP tests file
Previous Message Andrey Borodin 2021-09-03 06:50:59 Re: suboverflowed subtransactions concurrency performance optimize