Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1prdRw-0004Qa-CH for pgsql-docs@arkaria.postgresql.org; Wed, 26 Apr 2023 11:36:40 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1prdRu-00050g-PT for pgsql-docs@arkaria.postgresql.org; Wed, 26 Apr 2023 11:36:38 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1prdRu-00050X-Hh for pgsql-docs@lists.postgresql.org; Wed, 26 Apr 2023 11:36:38 +0000 Received: from smtp.outgoing.loopia.se ([93.188.3.37]) by magus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1prdRs-005AFI-DG for pgsql-docs@lists.postgresql.org; Wed, 26 Apr 2023 11:36:37 +0000 Received: from s807.loopia.se (localhost [127.0.0.1]) by s807.loopia.se (Postfix) with ESMTP id 50E212F7A376 for ; Wed, 26 Apr 2023 13:36:35 +0200 (CEST) Received: from s979.loopia.se (unknown [172.22.191.5]) by s807.loopia.se (Postfix) with ESMTP id 4120E2E286DB; Wed, 26 Apr 2023 13:36:35 +0200 (CEST) Received: from s898.loopia.se (unknown [172.22.191.6]) by s979.loopia.se (Postfix) with ESMTP id 3E16C10BC3F1; Wed, 26 Apr 2023 13:36:35 +0200 (CEST) X-Virus-Scanned: amavisd-new at amavis.loopia.se X-Spam-Flag: NO X-Spam-Score: -1 X-Spam-Level: X-Spam-Status: No, score=-1 tagged_above=-999 required=6.2 tests=[ALL_TRUSTED=-1] autolearn=disabled Received: from s899.loopia.se ([172.22.191.6]) by s898.loopia.se (s898.loopia.se [172.22.190.17]) (amavisd-new, port 10024) with UTF8LMTP id yjttDonRdqS2; Wed, 26 Apr 2023 13:36:34 +0200 (CEST) X-Loopia-Auth: user X-Loopia-User: daniel@yesql.se X-Loopia-Originating-IP: 89.255.232.193 Received: from smtpclient.apple (customer-89-255-232-193.stosn.net [89.255.232.193]) (Authenticated sender: daniel@yesql.se) by s899.loopia.se (Postfix) with ESMTPSA id 880702C8BA6F; Wed, 26 Apr 2023 13:36:34 +0200 (CEST) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3696.120.41.1.2\)) Subject: Re: confusing positioning of notes in connection settings From: Daniel Gustafsson In-Reply-To: Date: Wed, 26 Apr 2023 13:36:34 +0200 Cc: "Jonathan S. Katz" , Pg Docs Content-Transfer-Encoding: quoted-printable Message-Id: <39202431-DF62-42E2-B0C1-500C93AD37C8@yesql.se> References: <6f825d42-a1ce-492a-2ea7-c83e6e65fa8b@postgresql.org> <4e34fcb4-6791-0266-7352-27b769c478f9@enterprisedb.com> To: Peter Eisentraut X-Mailer: Apple Mail (2.3696.120.41.1.2) List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk > On 26 Apr 2023, at 10:18, Daniel Gustafsson wrote: >=20 >> On 26 Apr 2023, at 08:08, Peter Eisentraut = wrote: >=20 >> I wonder if the notes are even true. The text for = tcp_keepalives_interval already says that it is only supported if = TCP_KEEPCNT is supported. Re-reading this I think there was some confusion, definitely so on my = part. tcp_keepalives_interval relies on TCP_KEEPINTVL, with the Windows = equivalent being SIO_KEEPALIVE_VALS. TCP_KEEPCNT is for tcp_keepalives_count which = indeed is not supported on Windows. Jonathans original question was regarding = _count and _timeout and not _interval. I do agree that all of these notes may just as well be added to the = text, the option client_connection_check_interval following these have text about platform compatibility without using a note. -- Daniel Gustafsson