Re: Possible substitute for PostmasterIsAlive polling loops

From: Robert Haas <robertmhaas(at)gmail(dot)com>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: Possible substitute for PostmasterIsAlive polling loops
Date: 2011-02-24 03:14:47
Message-ID: AANLkTi=VUQYf-x3uc0BbUPFUCCQaC54MZ6G4gZOWCYwE@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Wed, Feb 23, 2011 at 4:54 PM, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)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

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Tatsuo Ishii 2011-02-24 03:25:49 Re: Synchronous standbys?
Previous Message Robert Haas 2011-02-24 03:11:11 Re: WIP: cross column correlation ...