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

2021-09-03 Thread Tom Lane
Alvaro Herrera writes: > On 2021-Sep-03, Tom Lane wrote: >> TBH, I'd sooner rip out SendStop, and simplify the related postmaster >> logic. > I wrote a patch to do that in 2012, after this exchange: > https://postgr.es/m/1333124720-sup-6...@alvh.no-ip.org > I obviously doesn't apply at all anymor

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

2021-09-03 Thread Alvaro Herrera
On 2021-Sep-03, Tom Lane wrote: > "=?UTF-8?B?6JSh5qKm5aifKOeOiuS6jik=?=" writes: > > 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 rat

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

2021-09-03 Thread Tom Lane
"=?UTF-8?B?6JSh5qKm5aifKOeOiuS6jik=?=" writes: > 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