Use poll(2) in preference to select(2), if available. This solves
Tom Lane <tgl@sss.pgh.pa.us>
Use poll(2) in preference to select(2), if available. This solves problems in applications that may have a large number of files open, such that libpq's socket number exceeds the range supported by fd_set. From Chris Brown.
Files
| Path | Change | +/− |
|---|---|---|
| configure | modified | +5 −2 |
| configure.in | modified | +3 −3 |
| src/include/pg_config.h.in | modified | +13 −4 |
| src/interfaces/libpq/fe-misc.c | modified | +146 −116 |