Re: fcntl(F_SETLK)

Поиск
Список
Период
Сортировка
От Thomas Lockhart
Тема Re: fcntl(F_SETLK)
Дата
Msg-id 39648CA0.B8999C35@alumni.caltech.edu
обсуждение исходный текст
Ответ на fcntl(F_SETLK)  (eisentrp@csis.gvsu.edu)
Ответы Re: fcntl(F_SETLK)  (Philip Warner <pjw@rhyme.com.au>)
Re: fcntl(F_SETLK)  (Tom Lane <tgl@sss.pgh.pa.us>)
Список 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 *presume* this relates to your recent discussions re flock?
> By causing the configure test to fail, the resulting code works...

Current CVS sources are hard-broken for Linux :((

On my laptop with a 2.2.14 kernel, postmaster exits with a segfault, and
gdb fails to keep ahold of the image when running:
 Program terminated with signal SIGSEGV, Segmentation fault. The program no longer exists.

which will make it difficult for me to debug.

The tree worked yesterday. Philip, what exactly did you do to "cause the
configure test to fail"? Can I just go in a muck with Makefile.global?

I'd like to get up and running so I can finish testing and submit some
patches!
                     - Thomas


В списке pgsql-hackers по дате отправления:

Предыдущее
От: Thomas Lockhart
Дата:
Сообщение: Re: pl/pgsql function out parameters
Следующее
От: JanWieck@t-online.de (Jan Wieck)
Дата:
Сообщение: Re: 2nd update on TOAST