From: Bruce Momjian Date: Sat, 8 Mar 2014 03:02:38 +0000 (-0500) Subject: doc: improve server's keepalive description X-Git-Tag: REL9_4_BETA1~363 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=ea43af38dc90d1656e67d7fbdbc809385c380435;p=postgresql doc: improve server's keepalive description Use superior libpq keepalive description for the server-level parameters. Per report by Tatsuo Ishii and Marko Tiikkaja --- diff --git a/doc/src/sgml/config.sgml b/doc/src/sgml/config.sgml index 86dbd0f53e..2811f1148c 100644 --- a/doc/src/sgml/config.sgml +++ b/doc/src/sgml/config.sgml @@ -684,8 +684,9 @@ include 'filename' - Specifies the number of seconds before sending a keepalive packet on - an otherwise idle connection. A value of 0 uses the system default. + Specifies the number of seconds of inactivity after which TCP + should send a keepalive message to the client. A value of 0 uses + the system default. This parameter is supported only on systems that support the TCP_KEEPIDLE or TCP_KEEPALIVE symbols, and on Windows; on other systems, it must be zero. @@ -708,8 +709,9 @@ include 'filename' - Specifies the number of seconds between sending keepalives on an - otherwise idle connection. A value of 0 uses the system default. + Specifies the number of seconds after which a TCP keepalive message + that is not acknowledged by the client should be retransmitted. + A value of 0 uses the system default. This parameter is supported only on systems that support the TCP_KEEPINTVL symbol, and on Windows; on other systems, it must be zero. @@ -732,8 +734,9 @@ include 'filename' - Specifies the number of keepalive packets to send on an otherwise idle - connection. A value of 0 uses the system default. This parameter is + Specifies the number of TCP keepalives that can be lost before + the server's connection to the client is considered dead. A value of 0 + uses the system default. This parameter is supported only on systems that support the TCP_KEEPCNT symbol; on other systems, it must be zero. In sessions connected via a Unix-domain socket, this parameter is