"=?UTF-8?B?6JSh5qKm5aifKOeOiuS6jik=?=" <mengjuan....@alibaba-inc.com> 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 some backend dumps core, and this variable is originally 
> set with -T parameter when start postgres, which is inconvenient to control 
> in some scenarios.

TBH, I'd sooner rip out SendStop, and simplify the related postmaster
logic.  I've never used it in twenty-some years of Postgres hacking,
and I doubt anyone else has used it much either.  It's not worth the
overhead of a GUC.  (The argument that you need it in situations
where you can't control the postmaster's command line seems pretty
thin, too.  I'm much more worried about somebody turning it on by
accident and then complaining that the cluster freezes upon crash.)

                        regards, tom lane


Reply via email to