Tom Lane wrote: > But this only wins if a child process inheriting an open file also > inherits copies of any locks held by the parent. If not, then the > issue is moot. Anybody have any idea if file locks work that way? > Is it portable??
An alternate way might be to use semaphores, but I can't see how to do that using the standard PGSemaphores implementation: it appears to depend on cooperating processes inheriting a copy of the postmaster's heap. And since the POSIX semaphores default to unnamed ones, it appears this idea is also a dead end unless my impressions are dead wrong... -- Kevin Brown [EMAIL PROTECTED] ---------------------------(end of broadcast)--------------------------- TIP 1: subscribe and unsubscribe commands go to [EMAIL PROTECTED]