Re: Latch implementation that wakes on postmaster death on both win32 and Unix

From: Heikki Linnakangas <heikki(dot)linnakangas(at)enterprisedb(dot)com>
To: Peter Geoghegan <peter(at)2ndquadrant(dot)com>
Cc: Florian Pflug <fgp(at)phlo(dot)org>, Robert Haas <robertmhaas(at)gmail(dot)com>, Fujii Masao <masao(dot)fujii(at)gmail(dot)com>, PG Hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Latch implementation that wakes on postmaster death on both win32 and Unix
Date: 2011-07-08 13:16:28
Message-ID: 4E17032C.9060104@enterprisedb.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On 08.07.2011 16:11, Peter Geoghegan wrote:
> Incidentally, I like that this removes the amDirectChild argument to
> PostmasterIsAlive() - an added benefit.

amDirectChild==false has actually been dead code for years. But the new
pipe method would work for a non-direct child too as long as the pipe fd
is inherited by the non-direct child, should we need that in the future
again.

--
Heikki Linnakangas
EnterpriseDB http://www.enterprisedb.com

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Martin Pihlak 2011-07-08 13:36:00 Re: libpq SSL with non-blocking sockets
Previous Message Peter Geoghegan 2011-07-08 13:11:46 Re: Latch implementation that wakes on postmaster death on both win32 and Unix