Re: libpq build problem with <io.h> on MS VC++

Tom Lane <[email protected]>
Newsgroups gmane.comp.db.postgresql.devel.win32,gmane.comp.db.postgresql.devel.patches
Message-ID <[email protected]>
Bruce Momjian <[email protected]> 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

---------------------------(end of broadcast)---------------------------
TIP 1: subscribe and unsubscribe commands go to [email protected]
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.