Lists: | pgsql-patches |
---|
From: | "Dave Page" <dpage(at)vale-housing(dot)co(dot)uk> |
---|---|
To: | "PostgreSQL-patches" <pgsql-patches(at)postgresql(dot)org> |
Subject: | Win32 Thread Safety |
Date: | 2005-08-01 10:51:17 |
Message-ID: | E7F85A1B5FF8D44C8A1AF6885BC9A0E4AC9670@ratbert.vale-housing.co.uk |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Lists: | pgsql-patches |
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.
Attachment | Content-Type | Size |
---|---|---|
win32_thread_safety.diff.gz | application/x-gzip | 5.8 KB |
From: | Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us> |
---|---|
To: | Dave Page <dpage(at)vale-housing(dot)co(dot)uk> |
Cc: | PostgreSQL-patches <pgsql-patches(at)postgresql(dot)org> |
Subject: | Re: Win32 Thread Safety |
Date: | 2005-08-23 21:01:45 |
Message-ID: | 200508232101.j7NL1js13212@candle.pha.pa.us |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Lists: | pgsql-patches |
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(at)candle(dot)pha(dot)pa(dot)us | (610) 359-1001
+ If your life is a hard drive, | 13 Roberts Road
+ Christ can be your backup. | Newtown Square, Pennsylvania 19073