--On Thursday, July 24, 2003 16:30:14 -0400 Bruce Momjian <[EMAIL PROTECTED]> wrote:
Peter Eisentraut wrote:I think it needs to be a port/platform by port/platform decision.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*
I DO think we need to -D_REENTRANT on those platforms that we can to allow libpq's use in threaded programs.
LER
-- Larry Rosenman http://www.lerctr.org/~ler Phone: +1 972-414-9812 E-Mail: [EMAIL PROTECTED] US Mail: 1905 Steamboat Springs Drive, Garland, TX 75044-6749
---------------------------(end of broadcast)--------------------------- TIP 9: the planner will ignore your desire to choose an index scan if your joining column's datatypes do not match