[PATCHES] Add function to return the thread safety status of libpq

2005-12-02 Thread Qingqing Zhou
This is half of an item in TODO list. I patch this because now pgbench is threaded in Win32, so it is better to check thread safety of libpq.dll. Patch ecpg could be done in a similar way, but I am not sure how we will use this function there ... Regards, Qingqing --- Index: fe-connect.c

Re: [PATCHES] Add function to return the thread safety status of libpq

2005-12-02 Thread Tom Lane
Qingqing Zhou [EMAIL PROTECTED] writes: This is half of an item in TODO list. I patch this because now pgbench is threaded in Win32, so it is better to check thread safety of libpq.dll. ISTM this was proposed once before, and rejected on the grounds that no one could present a convincing use

Re: [PATCHES] Add function to return the thread safety status of libpq

2005-12-02 Thread Qingqing Zhou
Tom Lane [EMAIL PROTECTED] wrote Is there a point in checking the thread-safety of libpq when you can't check the thread-safety of libc? Exactly :-( Regards, Qingqing ---(end of broadcast)--- TIP 5: don't forget to increase your free space