Re: APC/socket fix (final?)

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Claudio Natoli <claudio(dot)natoli(at)memetrics(dot)com>
Cc: "''pgsql-patches(at)postgresql(dot)org' '" <pgsql-patches(at)postgresql(dot)org>
Subject: Re: APC/socket fix (final?)
Date: 2004-03-26 00:45:53
Message-ID: 16572.1080261953@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-patches

Claudio Natoli <claudio(dot)natoli(at)memetrics(dot)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

In response to

Browse pgsql-patches by date

  From Date Subject
Next Message Claudio Natoli 2004-03-26 00:51:17 Re: APC/socket fix (final?)
Previous Message Claudio Natoli 2004-03-25 23:18:16 Re: APC/socket fix (final?)