Support setting the keepalive idle time on MacOS X.
Robert Haas <rhaas@postgresql.org>
Support setting the keepalive idle time on MacOS X. MacOS X uses TCP_KEEPALIVE rather than TCP_KEEPIDLE for this purpose. Thanks to Fujii Masao for the review.
Files
| Path | Change | +/− |
|---|---|---|
| doc/src/sgml/config.sgml | modified | +6 −5 |
| doc/src/sgml/libpq.sgml | modified | +5 −5 |
| src/backend/libpq/pqcomm.c | modified | +23 −4 |
| src/interfaces/libpq/fe-connect.c | modified | +15 −1 |