Subject: Re: Threading problems
To: Bill Studenmund <>
From: Jaromir Dolecek <>
List: tech-pkg
Date: 11/23/2004 22:05:55
Bill Studenmund wrote:
-- Start of PGP signed section.
> On Tue, Nov 23, 2004 at 08:47:38PM +0100, Jaromir Dolecek wrote:
> > Daniel Carosone wrote:
> > -- Start of PGP signed section.
> > > There's active work in pkgsrc right now to address this issue, though
> > > I haven't been following it closely; perhaps someone else can comment
> > > in more detail.  In the meantime, please check for this, and perhaps
> > > try rebuilding the relevant pkg's from -current pkgsrc?
> > 
> > Yeah, the libpthread lossage is becoming quite a big problem. Is there
> > no way to avoid the crash when loading threaded object module
> > to non-threaded application? We urgently need to come up with
> > pkgsrc solution for this.
> No, there is no way to avoid the crash. Please see the follow-up I posted 
> to darcy@. The server needed to have been compiled with libpthread from 
> the beginning.

But PostgreSQL server itself does not use threads at all, it's using fork()
and shared memory.

Jaromir Dolecek <>  
-=- We can walk our road together if our goals are all the same;     -=-
-=- We can run alone and free if we pursue a different aim.          -=-