Support setting the keepalive idle time on MacOS X.

Robert Haas <rhaas@postgresql.org>

Commit: 5acd417c8f0f720418560360d9b3e543d593e4f0
Author: Robert Haas <rhaas@postgresql.org>
Date: 2010-07-06T21:14:25Z
Releases: 9.0.0
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

PathChange+/−
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