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(at)gmx(dot)net 75262 Uppsala
In response to
pgsql-hackers by date
|Next:||From: Peter Eisentraut||Date: 2000-07-05 00:12:24|
|Subject: Re: Changes to handling version numbers internally |
|Previous:||From: Peter Eisentraut||Date: 2000-07-05 00:11:53|
|Subject: Re: Revised Copyright: is this more palatable?|
pgsql-committers by date
|Next:||From: Tom Lane||Date: 2000-07-05 00:25:53|
|Subject: Re: Memory-context slinging |
|Previous:||From: Peter Eisentraut||Date: 2000-07-04 19:58:06|
|Subject: Re: [COMMITTERS] pgsql/doc/TODO.detail (alpha default distinct flock
fsync function limit null pg_shadow primary)|