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