--On Friday, July 25, 2003 11:51:50 +0200 Peter Eisentraut <[EMAIL PROTECTED]> wrote:
Larry Rosenman writes:Yes, it DOES change errno, but it is **NOT** problematic. the static int is there
The -D_REENTRANT causes NO pain, and makes it possible to have ONE library for UnixWare.
Didn't you just say that -D_REENTRANT changes the definition of errno on your system? Surely it would not be a good idea to link a libpq that uses variant 1 with a program that uses variant 2. Maybe I'm wrong and you can do that, but it sounds problematic to me.
ONLY FOR THE FIRST LWP (thread) of a process. The reentrant version accesses the same
information for ANY LWP. the first LWP can also use it for getting access.
It is SAFER to use the reentrant version, so that if a THREADED program uses libpq,
we are now thread-safe.
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 8: explain analyze is your friend