Win32 Thread Safety

Started by Dave Pagealmost 21 years ago2 messagespatches
Jump to latest
#1Dave Page
dpage@pgadmin.org

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:

win32_thread_safety.diff.gzapplication/x-gzip; name=win32_thread_safety.diff.gzDownload
#2Bruce Momjian
bruce@momjian.us
In reply to: Dave Page (#1)
Re: Win32 Thread Safety

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