Win32 Thread Safety
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.
Attachments:
Patch applied and file renamed, configure run. Thanks.
---------------------------------------------------------------------------
Dave Page wrote:
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.
Content-Description: win32_thread_safety.diff.gz
[ Attachment, skipping... ]
---------------------------(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
--
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, Pennsylvania 19073