Skip site navigation (1) Skip section navigation (2)

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: (view raw, whole thread or download thread mbox)
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

Robert Haas
The Enterprise PostgreSQL Company

In response to


pgsql-hackers by date

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

Privacy Policy | About PostgreSQL
Copyright © 1996-2017 The PostgreSQL Global Development Group