Re: 2nd update on TOAST - Mailing list pgsql-hackers

From Bruce Momjian
Subject Re: 2nd update on TOAST
Date
Msg-id 200007062043.QAA12383@candle.pha.pa.us
Whole thread Raw
In response to Re: 2nd update on TOAST  (JanWieck@t-online.de (Jan Wieck))
Responses Re: 2nd update on TOAST  (JanWieck@t-online.de (Jan Wieck))
List pgsql-hackers
> > OK, I've updated from CVS and rebuilt & it worked. The, to be sure, I did a
> > 'make distclean' then a 'make' & 'make install' again, and now postmaster
> > wont start (SIGSEGV). I have rebuild with '-O0 -g', gone into gdb, but the
> > process dies so I cant get a backtrace.
> 
>     Have the same symptom with a completely fresh cvs checkout.
> 
> > If anyone can give me some tips on tracking this down, I would appreciate
> > it....
> 
>     Bruce  applied  a  patch  to configure.in yesterday. Read the
>     comments from the cvslog. It tells that it triggers a bug  in
>     the  Linux  kernels  fcntl(SETLK)  code  when  used with unix
>     domain sockets, and that the bug is present in Linux  kernels
>     <=  2.2.16. I'm running a 2.2.12 here, and so it exactly dies
>     in pqcomm.c line 229 on fcntl() against the socket.

I thought when he said flock() bug, he meant only on the new IA64
platform, not on all Linux platforms.  Yikes, I enable flock(), and it
breaks initdb for all the Linux users.  This is a problem!

Tom was mentioning the configure check for flock() was broken recently,
so I was glad to fix it.

--  Bruce Momjian                        |  http://candle.pha.pa.us 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: Bruce Momjian
Date:
Subject: Re: 2nd update on TOAST
Next
From: Bruce Momjian
Date:
Subject: Re: Article on MySQL vs. Postgres