Re: We shouldn't signal process groups with SIGQUIT - Mailing list pgsql-hackers

From Michael Paquier
Subject Re: We shouldn't signal process groups with SIGQUIT
Date
Msg-id Y/asaaR8Qs6oA1aL@paquier.xyz
Whole thread Raw
In response to Re: We shouldn't signal process groups with SIGQUIT  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers
On Wed, Feb 22, 2023 at 09:39:55AM -0500, Tom Lane wrote:
> Michael Paquier <michael@paquier.xyz> writes:
>> What would be the advantage of doing that for groups other than
>> -StartupPID and -PgArchPID?  These are the two groups of processes we
>> need to worry about, AFAIK.
>
> No, we have the issue for regular backends too, since they could be
> executing COPY FROM PROGRAM or the like (not to mention that functions
> in plperlu, plpythonu, etc could spawn child processes).

Indeed, right.  I completely forgot about these cases.
--
Michael

Attachment

pgsql-hackers by date:

Previous
From: Jim Jones
Date:
Subject: Re: [PATCH] Add pretty-printed XML output option
Next
From: Michael Paquier
Date:
Subject: Re: buildfarm + meson