Re: [pgsql-hackers-win32] libpq build problem with on MS VC++ - Mailing list pgsql-patches

From Tom Lane
Subject Re: [pgsql-hackers-win32] libpq build problem with on MS VC++
Date
Msg-id 29241.1092718288@sss.pgh.pa.us
Whole thread Raw
In response to Re: [pgsql-hackers-win32] libpq build problem with on MS VC++  (Bruce Momjian <pgman@candle.pha.pa.us>)
Responses Re: [pgsql-hackers-win32] libpq build problem with on MS VC++
List pgsql-patches
Bruce Momjian <pgman@candle.pha.pa.us> writes:
> Ah, one thing we have done is to reference everything as pg* and define
> it to be the libc function on unix and give a compatibility function on
> Win32.  We do that with pgpipe.  That might be our best solution.

We should do that sort of thing only as a very last resort.  It's
particularly bad when we cannot easily enforce that all references use
the pgxxx function.  pgpipe is manageable because there are very few
places that need to use it, but the same cannot be said of rename.

Personally I'd rather get rid of pgpipe as well ...

            regards, tom lane

pgsql-patches by date:

Previous
From: Tom Lane
Date:
Subject: Re: [pgsql-hackers-win32] libpq build problem with on MS VC++
Next
From: Andreas Pflug
Date:
Subject: Re: [pgsql-hackers-win32] libpq build problem with