Peter Geoghegan <peter(at)2ndquadrant(dot)com> writes:
> I think that we might have avoided accepting the poll()-based
> implementation in the first place if these subtleties were considered
> earlier, since IIRC the justification for introducing it was rather
> weak.
I'm not exactly sure that the select-based implementation isn't buggy
too. It just ignores the possibility of error conditions on the
socket(s). In any case, we are using poll interchangeably with select
in most places.
regards, tom lane