Re: [CYGWIN] ipc-daemon - Mailing list pgsql-hackers

From Peter Eisentraut
Subject Re: [CYGWIN] ipc-daemon
Date
Msg-id Pine.LNX.4.44.0211051909470.1815-100000@localhost.localdomain
Whole thread Raw
In response to Re: [CYGWIN] ipc-daemon  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: [CYGWIN] ipc-daemon
List pgsql-hackers
Tom Lane writes:

> I disagree: just because cygipc returns error codes chosen at random
> doesn't mean that we should neglect the clear meaning of an error code.
> If a normal Unix system were to return EACCES here, the clear
> implication would be that there is an existing segment that we do not
> have permission to access.

OK, but shouldn't the looping for a new segment terminate sometime?  As it
stands it will wrap around and run forever.  If we catch it before it
wraps and generate an error to the effect that no segments appear to be
free, it might serve us.

--
Peter Eisentraut   peter_e@gmx.net


pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: New beta4 created ...
Next
From: Peter Eisentraut
Date:
Subject: Re: Is my Internet connection slow