Re: bug in SignalSomeChildren - Mailing list pgsql-hackers

From Tom Lane
Subject Re: bug in SignalSomeChildren
Date
Msg-id 13158.1292873002@sss.pgh.pa.us
Whole thread Raw
In response to Re: bug in SignalSomeChildren  (Robert Haas <robertmhaas@gmail.com>)
Responses Re: bug in SignalSomeChildren  (Robert Haas <robertmhaas@gmail.com>)
List pgsql-hackers
Robert Haas <robertmhaas@gmail.com> writes:
> Another option that might be workable (but I have reservations, and
> haven't tested it either) is to check whether the return value of
> getppid() is equal to 1.  If it's neither 1 nor PostmasterPid then try
> kill().

I like that better actually ... one less thing for developers to get wrong.
        regards, tom lane


pgsql-hackers by date:

Previous
From: Robert Haas
Date:
Subject: Re: bug in SignalSomeChildren
Next
From: Kenneth Marshall
Date:
Subject: Re: Extensions, patch v20 (bitrot fixes)