The attached patch updates the thread test program to run stand-alone on Windows. The test itself is bypassed in configure as discussed, and libpq has been updated appropriately to allow it to build in thread-safe mode.
To apply, apply the patch as normal, then rename src/interface/libpq/pthread.h.win32 to src/interface/libpq/pthread-win32.h. Finally, run autoconf to regenerate configure. Regards, Dave.
win32_thread_safety.diff.gz
Description: win32_thread_safety.diff.gz
---------------------------(end of broadcast)--------------------------- TIP 9: In versions below 8.0, the planner will ignore your desire to choose an index scan if your joining column's datatypes do not match