Tom Lane writes:
> but if one or both postmasters is started without -i then there's got
> to be some interlock on the Unix socket file.
>
> I don't much like depending on flock for that, since it isn't available
> everywhere. The only portable answer is to build a pid-containing
> interlock file for each socket file, as discussed in the TODO item.
But the flock code isn't used because the configure test for it is broken,
and has been broken ever since it was introduced AFAICT. It seems that we
have been relying on the mere existence of the socket file.
--
Peter Eisentraut Sernanders väg 10:115
peter_e@gmx.net 75262 Uppsala
http://yi.org/peter-e/ Sweden