Re: fcntl(F_SETLK)

Поиск
Список
Период
Сортировка
От Bruce Momjian
Тема Re: fcntl(F_SETLK)
Дата
Msg-id 200007051621.MAA07465@candle.pha.pa.us
обсуждение исходный текст
Ответ на fcntl(F_SETLK)  (eisentrp@csis.gvsu.edu)
Ответы Re: fcntl(F_SETLK)  (Philip Warner <pjw@rhyme.com.au>)
Список 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 по дате отправления:

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: Article on MySQL vs. Postgres
Следующее
От: Peter Eisentraut
Дата:
Сообщение: Array type confusion