Re: [HACKERS] Possible substitute for PostmasterIsAlive polling loops

2011-02-24 Thread Florian Pflug
On Feb24, 2011, at 04:14 , Robert Haas wrote: On Wed, Feb 23, 2011 at 4:54 PM, Tom Lane t...@sss.pgh.pa.us wrote: IOW, at least on Linux, you *can* arrange to get a signal when your parent process dies. That's pretty cool. Not sure how ugly it'd be to use this call when available and a

Re: [HACKERS] Possible substitute for PostmasterIsAlive polling loops

2011-02-23 Thread Robert Haas
On Wed, Feb 23, 2011 at 4:54 PM, Tom Lane t...@sss.pgh.pa.us wrote: IOW, at least on Linux, you *can* arrange to get a signal when your parent process dies. That's pretty cool. Not sure how ugly it'd be to use this call when available and a time delay when not, but it's something to think