Re: MSFT compiler fixes + misc - Mailing list pgsql-patches

From Claudio Natoli
Subject Re: MSFT compiler fixes + misc
Date
Msg-id A02DEC4D1073D611BAE8525405FCCE2B55F3E1@harris.memetrics.local
Whole thread Raw
In response to MSFT compiler fixes + misc  (Claudio Natoli <claudio.natoli@memetrics.com>)
List pgsql-patches

> A thought about this - how about converting pgpiperead() and
> pgpipewrite() into functions intead of macros (on win32 - still
> redifining them on != win32), mimicking the behaviour of read() and
> write()?

And #def'ing them to be read + write under win32? Don't want to change every
instance of read/write.


> Then we could do awya with the #ifdefs at the points where its
> used, and just expect the normal Unix behaviour?

I don't see that we do have any #ifdefs where its used.


Can't help but feel I've misinterpreted your message.

Cheers,
Claudio

---
Certain disclaimers and policies apply to all email sent from Memetrics.
For the full text of these disclaimers and policies see
<a
href="http://www.memetrics.com/emailpolicy.html">http://www.memetrics.com/em
ailpolicy.html</a>

pgsql-patches by date:

Previous
From: "Magnus Hagander"
Date:
Subject: New socket code for win32
Next
From: Bruce Momjian
Date:
Subject: Improve GUC USERLIMIT code