Re: Cygwin PostgreSQL Regression Test Problems (Revisited) - Mailing list pgsql-ports

From Tom Lane
Subject Re: Cygwin PostgreSQL Regression Test Problems (Revisited)
Date
Msg-id 24157.986078745@sss.pgh.pa.us
Whole thread Raw
In response to RE: Cygwin PostgreSQL Regression Test Problems (Revisited)  ("Hiroshi Inoue" <Inoue@tpf.co.jp>)
Responses Re: Cygwin PostgreSQL Regression Test Problems (Revisited)
List pgsql-ports
"Hiroshi Inoue" <Inoue@tpf.co.jp> writes:
> Oh I found the same description yesterday though I've had no time
> to test it. If your patch resolves *hang*, it may be the right solution
> at least for cygwin port.

It seems clear that it's a good idea for fe-misc.c to check the
exceptfds bit as well as read/write ready --- I'm surprised we have not
seen problems associated with that on other platforms.  I think it
should check exceptfds all the time, regardless of whether we are
waiting to read or to write.

I'm inclined to also accept Jason's change to do the connect() in
blocking mode on Cygwin.  If we do both of those things, have we
resolved the issue on Cygwin, or is there still a problem?

            regards, tom lane

pgsql-ports by date:

Previous
From: "Hiroshi Inoue"
Date:
Subject: RE: Cygwin PostgreSQL Regression Test Problems (Revisited)
Next
From: Jason Tishler
Date:
Subject: Re: Cygwin PostgreSQL Regression Test Problems (Revisited)