Re: Latch implementation that wakes on postmaster death on both win32 and Unix
Heikki Linnakangas <heikki.linnakangas@enterprisedb.com>
From: Heikki Linnakangas <heikki.linnakangas@enterprisedb.com>
To: Peter Geoghegan <peter@2ndquadrant.com>
Cc: Florian Pflug <fgp@phlo.org>, Robert Haas <robertmhaas@gmail.com>, Fujii Masao <masao.fujii@gmail.com>, PG Hackers <pgsql-hackers@postgresql.org>
Date: 2011-07-08T13:16:28Z
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