Skip site navigation (1) Skip section navigation (2)

Re: Compiling libpq with VisualC

From: Andreas Pflug <pgadmin(at)pse-consulting(dot)de>
To: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
Cc: PostgreSQL Patches <pgsql-patches(at)postgresql(dot)org>
Subject: Re: Compiling libpq with VisualC
Date: 2004-06-04 13:36:52
Message-ID: 40C07AF4.1050900@pse-consulting.de (view raw or flat)
Thread:
Lists: pgsql-hackerspgsql-hackers-win32pgsql-patches
The appended patch implements ENABLE_THREAD_SAFETY for win32 compiled 
with Visual C. Two additional files will supply the needed pthread stuff.

There's no SIGPIPE for native win32, so there are some #IFNDEF WIN32 to 
skip installing a signal handler for this. I'm not sure if this is going 
to show conflicts for CYGWIN or other unix-like builds on win32 
platforms, i.e. if WIN32 is defined in such cases or not; please check.

Note: the previously posted win32.mak patch is superseded by this.

Regards,
Andreas

Attachment: pthread.h.win32
Description: text/plain (410 bytes)
Attachment: pthread-win32.c
Description: text/plain (803 bytes)
Attachment: win32-threadsafety.patch
Description: text/plain (3.7 KB)

In response to

Responses

pgsql-hackers by date

Next:From: Tom LaneDate: 2004-06-04 13:43:53
Subject: Re: [HACKERS] pg_dump --comment?
Previous:From: Bruce MomjianDate: 2004-06-04 13:30:35
Subject: Re: Compiling libpq with VisualC

pgsql-patches by date

Next:From: Tom LaneDate: 2004-06-04 13:43:53
Subject: Re: [HACKERS] pg_dump --comment?
Previous:From: Bruce MomjianDate: 2004-06-04 13:30:35
Subject: Re: Compiling libpq with VisualC

pgsql-hackers-win32 by date

Next:From: Ati RosseletDate: 2004-06-06 18:11:02
Subject: ignoring unconvertible UTF-8 character???
Previous:From: Bruce MomjianDate: 2004-06-04 13:30:35
Subject: Re: Compiling libpq with VisualC

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group