Re: APC/socket fix (final?) - Mailing list pgsql-patches

From Tom Lane
Subject Re: APC/socket fix (final?)
Date
Msg-id 16572.1080261953@sss.pgh.pa.us
Whole thread Raw
In response to Re: APC/socket fix (final?)  (Claudio Natoli <claudio.natoli@memetrics.com>)
List pgsql-patches
Claudio Natoli <claudio.natoli@memetrics.com> writes:
> It would be more consistent, but unfortunately GetLastError() != errno.

Yeah, I saw Magnus' explanation.  So essentially this is a workaround
for a bug in Windows' select() emulation.

Rather than hoping that we'll remember to decorate every select() call
with this workaround, would it make sense to use a wrapper function?
I'm loath to invent pg_select() but it might be cleaner than this.

            regards, tom lane

pgsql-patches by date:

Previous
From: Claudio Natoli
Date:
Subject: Re: installdir patch for win32
Next
From: Claudio Natoli
Date:
Subject: Re: APC/socket fix (final?)