Re: fcntl(F_SETLK) - Mailing list pgsql-hackers

From Bruce Momjian
Subject Re: fcntl(F_SETLK)
Date
Msg-id 200007051621.MAA07465@candle.pha.pa.us
Whole thread Raw
In response to fcntl(F_SETLK)  (eisentrp@csis.gvsu.edu)
Responses Re: fcntl(F_SETLK)  (Philip Warner <pjw@rhyme.com.au>)
List pgsql-hackers
> There's a broken configure test for fcntl(F_SETLK). (Hint: Of course it's
> going to fail if you don't include the header file that defines
> F_SETLK.) Apparently, it's been broken for quite a while so I'm afraid to
> fix it, considering the problems with file locking.
> 
> Reading up on TODO.detail/flock, it seems this mechanism is made obsolete
> by the pid file, so I'm inclined to remove it. At least those using Linux
> and Solaris shouldn't feel a difference because the locking code wasn't
> being used for said reasons. :)

I just applied a patch from an IA64 user that fixes that.  Seems Tom
Lane thinks protecting multiple postmasters on the same port is still an
issue.  Let's hash it out and get it done, maybe.

--  Bruce Momjian                        |  http://www.op.net/~candle pgman@candle.pha.pa.us               |  (610)
853-3000+  If your life is a hard drive,     |  830 Blythe Avenue +  Christ can be your backup.        |  Drexel Hill,
Pennsylvania19026
 


pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: Article on MySQL vs. Postgres
Next
From: Peter Eisentraut
Date:
Subject: Array type confusion