diff options
author | Tom Lane <tgl@sss.pgh.pa.us> | 2012-10-31 14:26:20 -0400 |
---|---|---|
committer | Tom Lane <tgl@sss.pgh.pa.us> | 2012-10-31 14:26:40 -0400 |
commit | c22acf455842765e08f58ee308a43882cfcc13d4 (patch) | |
tree | 3a09caeeca2d1a5d198ba7ddcf295ed53da6089b | |
parent | 65225900de86044948c70e9732d02d99412eb171 (diff) | |
download | postgresql-c22acf455842765e08f58ee308a43882cfcc13d4.tar.gz postgresql-c22acf455842765e08f58ee308a43882cfcc13d4.zip |
Document that TCP keepalive settings read as 0 on Unix-socket connections.
Per bug #7631 from Rob Johnson. The code is operating as designed, but the
docs didn't explain it.
-rw-r--r-- | doc/src/sgml/config.sgml | 15 |
1 files changed, 9 insertions, 6 deletions
diff --git a/doc/src/sgml/config.sgml b/doc/src/sgml/config.sgml index b1ba5cba9de..1e42a2619bf 100644 --- a/doc/src/sgml/config.sgml +++ b/doc/src/sgml/config.sgml @@ -555,8 +555,9 @@ SET ENABLE_SEQSCAN TO OFF; an otherwise idle connection. A value of 0 uses the system default. This parameter is supported only on systems that support the <symbol>TCP_KEEPIDLE</> or <symbol>TCP_KEEPALIVE</> symbols, and on - Windows; on other systems, it must be zero. This parameter is ignored - for connections made via a Unix-domain socket. + Windows; on other systems, it must be zero. + In sessions connected via a Unix-domain socket, this parameter is + ignored and always reads as zero. </para> <note> <para> @@ -578,8 +579,9 @@ SET ENABLE_SEQSCAN TO OFF; otherwise idle connection. A value of 0 uses the system default. This parameter is supported only on systems that support the <symbol>TCP_KEEPINTVL</> symbol, and on Windows; on other systems, it - must be zero. This parameter is ignored for connections made via a - Unix-domain socket. + must be zero. + In sessions connected via a Unix-domain socket, this parameter is + ignored and always reads as zero. </para> <note> <para> @@ -600,8 +602,9 @@ SET ENABLE_SEQSCAN TO OFF; Specifies the number of keepalive packets to send on an otherwise idle connection. A value of 0 uses the system default. This parameter is supported only on systems that support the <symbol>TCP_KEEPCNT</> - symbol; on other systems, it must be zero. This parameter is ignored - for connections made via a Unix-domain socket. + symbol; on other systems, it must be zero. + In sessions connected via a Unix-domain socket, this parameter is + ignored and always reads as zero. </para> <note> <para> |