Claudio Natoli <[EMAIL PROTECTED]> 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

---------------------------(end of broadcast)---------------------------
TIP 7: don't forget to increase your free space map settings

Reply via email to