Re: Improving backend startup interlock

Tom Lane <tgl@sss.pgh.pa.us>

From: Tom Lane <tgl@sss.pgh.pa.us>
To: Bruce Momjian <pgman@candle.pha.pa.us>
Cc: Giles Lean <giles@nemeton.com.au>, pgsql-hackers@postgresql.org
Date: 2002-10-04T02:45:51Z
Lists: pgsql-hackers
Bruce Momjian <pgman@candle.pha.pa.us> writes:
> Have people considered flock (advisory locking) on the postmaster.pid
> file for backend detection?

$ man flock
No manual entry for flock.
$

HPUX has generally taken the position of adopting both BSD and SysV
features, so if it doesn't exist here, it's not portable to older
Unixen ...

			regards, tom lane