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

From Tom Lane
Subject Re: [CYGWIN] ipc-daemon
Date
Msg-id 4619.1036541544@sss.pgh.pa.us
Whole thread Raw
In response to Re: [CYGWIN] ipc-daemon  (Peter Eisentraut <peter_e@gmx.net>)
List pgsql-hackers
Peter Eisentraut <peter_e@gmx.net> writes:
> 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.

Hm.  It would be reasonable to put a limit on the number of attempts,
probably.  (There's a similar limit on attempts to create a lockfile.)

            regards, tom lane

pgsql-hackers by date:

Previous
From: "Robert E. Bruccoleri"
Date:
Subject: Re: Test of PG7.3.2b2 on SGI Irix
Next
From: Neil Conway
Date:
Subject: Re: PL/Perl and Perl 5.8