doc: improve server's keepalive description

Use superior libpq keepalive description for the server-level
parameters.

Per report by Tatsuo Ishii and Marko Tiikkaja
This commit is contained in:
Bruce Momjian 2014-03-07 22:02:38 -05:00
parent b0cb40f93a
commit ea43af38dc

View File

@ -684,8 +684,9 @@ include 'filename'
</indexterm> </indexterm>
<listitem> <listitem>
<para> <para>
Specifies the number of seconds before sending a keepalive packet on Specifies the number of seconds of inactivity after which TCP
an otherwise idle connection. A value of 0 uses the system default. 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 This parameter is supported only on systems that support the
<symbol>TCP_KEEPIDLE</> or <symbol>TCP_KEEPALIVE</> symbols, and on <symbol>TCP_KEEPIDLE</> or <symbol>TCP_KEEPALIVE</> symbols, and on
Windows; on other systems, it must be zero. Windows; on other systems, it must be zero.
@ -708,8 +709,9 @@ include 'filename'
</indexterm> </indexterm>
<listitem> <listitem>
<para> <para>
Specifies the number of seconds between sending keepalives on an Specifies the number of seconds after which a TCP keepalive message
otherwise idle connection. A value of 0 uses the system default. 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 This parameter is supported only on systems that support the
<symbol>TCP_KEEPINTVL</> symbol, and on Windows; on other systems, it <symbol>TCP_KEEPINTVL</> symbol, and on Windows; on other systems, it
must be zero. must be zero.
@ -732,8 +734,9 @@ include 'filename'
</indexterm> </indexterm>
<listitem> <listitem>
<para> <para>
Specifies the number of keepalive packets to send on an otherwise idle Specifies the number of TCP keepalives that can be lost before
connection. A value of 0 uses the system default. This parameter is 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 <symbol>TCP_KEEPCNT</> supported only on systems that support the <symbol>TCP_KEEPCNT</>
symbol; on other systems, it must be zero. symbol; on other systems, it must be zero.
In sessions connected via a Unix-domain socket, this parameter is In sessions connected via a Unix-domain socket, this parameter is