Michael Paquier <michael(at)paquier(dot)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).
regards, tom lane