From: Peter Eisentraut Date: Wed, 7 Jun 2023 15:54:53 +0000 (+0200) Subject: doc: Fix confusing positioning of notes in connection settings X-Git-Tag: REL_16_BETA2~79 X-Git-Url: http://git.postgresql.org/gitweb/?a=commitdiff_plain;h=fb5a7d84d23fa2e1f26334453948a01e8e59eee3;p=postgresql.git doc: Fix confusing positioning of notes in connection settings Reported-by: Jonathan S. Katz Reviewed-by: Daniel Gustafsson Discussion: https://www.postgresql.org/message-id/flat/6f825d42-a1ce-492a-2ea7-c83e6e65fa8b%40postgresql.org --- diff --git a/doc/src/sgml/config.sgml b/doc/src/sgml/config.sgml index 19c133b02d0..6262cb7bb2f 100644 --- a/doc/src/sgml/config.sgml +++ b/doc/src/sgml/config.sgml @@ -950,18 +950,14 @@ include_dir 'conf.d' the operating system should send a TCP keepalive message to the client. If this value is specified without units, it is taken as seconds. A value of 0 (the default) selects the operating system's default. + On Windows, setting a value of 0 will set this parameter to 2 hours, + since Windows does not provide a way to read the system default value. This parameter is supported only on systems that support TCP_KEEPIDLE or an equivalent socket option, and on 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. - - - On Windows, setting a value of 0 will set this parameter to 2 hours, - since Windows does not provide a way to read the system default value. - - @@ -977,18 +973,14 @@ include_dir 'conf.d' that has not been acknowledged by the client should be retransmitted. If this value is specified without units, it is taken as seconds. A value of 0 (the default) selects the operating system's default. + On Windows, setting a value of 0 will set this parameter to 1 second, + since Windows does not provide a way to read the system default value. This parameter is supported only on systems that support TCP_KEEPINTVL or an equivalent socket option, and on 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. - - - On Windows, setting a value of 0 will set this parameter to 1 second, - since Windows does not provide a way to read the system default value. - - @@ -1004,16 +996,11 @@ include_dir 'conf.d' the server's connection to the client is considered dead. A value of 0 (the default) selects the operating system's default. This parameter is supported only on systems that support - TCP_KEEPCNT or an equivalent socket option; + TCP_KEEPCNT or an equivalent socket option (which does not include 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. - - - This parameter is not supported on Windows, and must be zero. - - @@ -1030,15 +1017,10 @@ include_dir 'conf.d' If this value is specified without units, it is taken as milliseconds. A value of 0 (the default) selects the operating system's default. This parameter is supported only on systems that support - TCP_USER_TIMEOUT; on other systems, it must be zero. + TCP_USER_TIMEOUT (which does not include 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. - - - This parameter is not supported on Windows, and must be zero. - -