Re: Possible substitute for PostmasterIsAlive polling loops - Mailing list pgsql-hackers

From Robert Haas
Subject Re: Possible substitute for PostmasterIsAlive polling loops
Date
Msg-id AANLkTi=VUQYf-x3uc0BbUPFUCCQaC54MZ6G4gZOWCYwE@mail.gmail.com
Whole thread Raw
In response to Possible substitute for PostmasterIsAlive polling loops  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: Possible substitute for PostmasterIsAlive polling loops
List pgsql-hackers
On Wed, Feb 23, 2011 at 4:54 PM, Tom Lane <tgl@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 about.

Yeah.  It may be worth thinking about whether we want to use the
postmaster-pipe trick someone was proposing.  That might be more
portable.

-- 
Robert Haas
EnterpriseDB: http://www.enterprisedb.com
The Enterprise PostgreSQL Company


pgsql-hackers by date:

Previous
From: Robert Haas
Date:
Subject: Re: WIP: cross column correlation ...
Next
From: Tatsuo Ishii
Date:
Subject: Re: Synchronous standbys?