Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit ea43af3

Browse files
committed
doc: improve server's keepalive description
Use superior libpq keepalive description for the server-level parameters. Per report by Tatsuo Ishii and Marko Tiikkaja
1 parent b0cb40f commit ea43af3

File tree

1 file changed

+9
-6
lines changed

1 file changed

+9
-6
lines changed

doc/src/sgml/config.sgml

+9-6
Original file line numberDiff line numberDiff line change
@@ -684,8 +684,9 @@ include 'filename'
684684
</indexterm>
685685
<listitem>
686686
<para>
687-
Specifies the number of seconds before sending a keepalive packet on
688-
an otherwise idle connection. A value of 0 uses the system default.
687+
Specifies the number of seconds of inactivity after which TCP
688+
should send a keepalive message to the client. A value of 0 uses
689+
the system default.
689690
This parameter is supported only on systems that support the
690691
<symbol>TCP_KEEPIDLE</> or <symbol>TCP_KEEPALIVE</> symbols, and on
691692
Windows; on other systems, it must be zero.
@@ -708,8 +709,9 @@ include 'filename'
708709
</indexterm>
709710
<listitem>
710711
<para>
711-
Specifies the number of seconds between sending keepalives on an
712-
otherwise idle connection. A value of 0 uses the system default.
712+
Specifies the number of seconds after which a TCP keepalive message
713+
that is not acknowledged by the client should be retransmitted.
714+
A value of 0 uses the system default.
713715
This parameter is supported only on systems that support the
714716
<symbol>TCP_KEEPINTVL</> symbol, and on Windows; on other systems, it
715717
must be zero.
@@ -732,8 +734,9 @@ include 'filename'
732734
</indexterm>
733735
<listitem>
734736
<para>
735-
Specifies the number of keepalive packets to send on an otherwise idle
736-
connection. A value of 0 uses the system default. This parameter is
737+
Specifies the number of TCP keepalives that can be lost before
738+
the server's connection to the client is considered dead. A value of 0
739+
uses the system default. This parameter is
737740
supported only on systems that support the <symbol>TCP_KEEPCNT</>
738741
symbol; on other systems, it must be zero.
739742
In sessions connected via a Unix-domain socket, this parameter is

0 commit comments

Comments
 (0)