Re: libpq_r - Mailing list pgsql-hackers

From Bruce Momjian
Subject Re: libpq_r
Date
Msg-id 200307242030.h6OKUEh25801@candle.pha.pa.us
Whole thread Raw
In response to Re: libpq_r  (Peter Eisentraut <peter_e@gmx.net>)
Responses Re: libpq_r  (Larry Rosenman <ler@lerctr.org>)
Re: libpq_r  (Peter Eisentraut <peter_e@gmx.net>)
List pgsql-hackers
Peter Eisentraut wrote:
> Larry Rosenman writes:
> 
> > I beg to differ.  Explicitly, on UnixWare, the <errno.h> header,
> > reproduced below, under fair use, show an EXPLICIT difference in what
> > happens with _REENTRANT:
> 
> Hmm, I was too optimistic.  I guess we'll just have to handcraft a
> different solution for each platform.  But clearly on some platforms we'll
> need a libpq_r, so for the reasons I outlined in my initial post, it'd be
> good to provide one on all platforms.

I still think it is confusing to create a libpq_r on platforms that have
no _r libraries.  I am on BSD/OS and I can find only _r library on my
entire system, and guess who make that one:
/usr/contrib/lib/mysql/libmysqlclient_r.a

and they actually have two different libraries:

-rwxr-xr-x  1 root  wheel  127413 Jun  5  2001 /usr/contrib/lib/mysql/libmysqlclient.so.10.0.0*
-rwxr-xr-x  1 root  wheel  144471 Jun  5  2001 /usr/contrib/lib/mysql/libmysqlclient_r.so.10.0.0*

--  Bruce Momjian                        |  http://candle.pha.pa.us pgman@candle.pha.pa.us               |  (610)
359-1001+  If your life is a hard drive,     |  13 Roberts Road +  Christ can be your backup.        |  Newtown Square,
Pennsylvania19073
 


pgsql-hackers by date:

Previous
From: ivan
Date:
Subject: Re: perm bug ?
Next
From: Larry Rosenman
Date:
Subject: Re: libpq_r