I wrote: > I did my own checking, and concur that only the MinGW buildfarm members > are reporting lacking poll(2) or poll.h. Since they also report lacking > sys/select.h, they must be falling through to the WAIT_USE_WIN32 > implementation.
BTW, another amusing thing I just noted is that given a machine too old to have poll(2), the existing coding would most likely fail outright, because <sys/select.h> post-dates poll(2). SUSv2 specifies including <sys/time.h> to get select(2); apparently POSIX invented <sys/select.h> around 2001. gaur/pademelon indeed lacks <sys/select.h>, so it could never have reached the WAIT_USE_SELECT implementation without some readjustment of that #ifdef nest. regards, tom lane -- Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-hackers