Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1utQRX-006t7Z-Si for pgsql-hackers@arkaria.postgresql.org; Tue, 02 Sep 2025 12:49:00 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.94.2) (envelope-from ) id 1utQRW-003XuZ-VH for pgsql-hackers@arkaria.postgresql.org; Tue, 02 Sep 2025 12:48:59 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1utQRW-003XuQ-Ij for pgsql-hackers@lists.postgresql.org; Tue, 02 Sep 2025 12:48:59 +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.96) (envelope-from ) id 1utQRT-000AsP-2M for pgsql-hackers@lists.postgresql.org; Tue, 02 Sep 2025 12:48:58 +0000 Received: from s807.loopia.se (localhost [127.0.0.1]) by s807.loopia.se (Postfix) with ESMTP id AA66741FCA0 for ; Tue, 02 Sep 2025 14:48:54 +0200 (CEST) Received: from s899.loopia.se (unknown [172.22.191.6]) by s807.loopia.se (Postfix) with ESMTP id 968FC41F5EB; Tue, 02 Sep 2025 14:48:54 +0200 (CEST) Received: from s470.loopia.se (unknown [172.22.191.6]) by s899.loopia.se (Postfix) with ESMTP id 9200E2C8BA86; Tue, 02 Sep 2025 14:48:54 +0200 (CEST) X-Virus-Scanned: amavisd-new at amavis.loopia.se X-Spam-Flag: NO X-Spam-Score: -1.2 X-Spam-Level: X-Spam-Status: No, score=-1.2 tagged_above=-999 required=6.2 tests=[ALL_TRUSTED=-1, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1] autolearn=disabled Authentication-Results: s470.loopia.se (amavisd-new); dkim=pass (2048-bit key) header.d=yesql.se Received: from s981.loopia.se ([172.22.191.6]) by s470.loopia.se (s470.loopia.se [172.22.190.34]) (amavisd-new, port 10024) with LMTP id G3p7jlWlYsbX; Tue, 2 Sep 2025 14:48:53 +0200 (CEST) X-Loopia-Auth: user X-Loopia-User: daniel@yesql.se X-Loopia-Originating-IP: 89.255.232.236 Received: from smtpclient.apple (customer-89-255-232-236.stosn.net [89.255.232.236]) (Authenticated sender: daniel@yesql.se) by s981.loopia.se (Postfix) with ESMTPSA id ABFE722B1766; Tue, 02 Sep 2025 14:48:53 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yesql.se; s=loopiadkim1707475645; t=1756817333; bh=TN3WiF9GhPxbyj71vX9bTcg5BP6+sjVYJlt5/PDGQ50=; h=Subject:From:In-Reply-To:Date:Cc:References:To; b=tTenL4RETFOta6Gx477pcg6Y8UnzNvldozeiIxfT3wtmc62qT/3896sWvEahwt/2q 1S46KgVAUQCnKOgD0C8VC2ANepUE6u7RTNUE0XsNzoC8206V63uUWY4jUHQj6NOKba RYkDIj0MFB9aUEUago5/tXAwPSD5uqGpauiN83lKmCuXAxLnlycNQHrRV8ncY3fEqs kThkGsfOZsvjygXLksJf13UnDRskoARqt3LrTllps6sA8Autn4UffuySj95aYdbard rIVNwo/mgeWejyQksQ3qzGPLc0krQmSnx2qv4CQXkmALOx/QKNFiu00pouSZKhm+QY 5tutIuSDgiD8A== Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3776.700.51.11.2\)) Subject: Re: Serverside SNI support in libpq From: Daniel Gustafsson In-Reply-To: Date: Tue, 2 Sep 2025 14:48:43 +0200 Cc: Andres Freund , Jacob Champion , Pgsql Hackers Content-Transfer-Encoding: quoted-printable Message-Id: <80F4F8F4-8E4F-4B6F-866B-D837057C1192@yesql.se> References: <88986722-5A72-4DEC-8750-BDBF67FF8C01@yesql.se> <7E77028B-5A3A-436B-9046-8E9992E9F94A@yesql.se> <0BC5B9B1-6503-4563-AAC6-33DEF264AE3F@yesql.se> To: Michael Paquier X-Mailer: Apple Mail (2.3776.700.51.11.2) List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk > On 1 Sep 2025, at 03:58, Michael Paquier wrote: >=20 > On Wed, Aug 27, 2025 at 09:49:34PM +0200, Daniel Gustafsson wrote: >> When looking into why the SNI tests failed on Windows I think I found = a >> pre-existing issue that we didn't have tests for, which my patch = added tests >> for and thus broke. >>=20 >> The test I added was to check restarting and reloading with ssl = passphrase >> commands (which we do have testcoverage for) with a subsequent = connection test >> to ensure it didn't just work to start the cluster. >=20 > Would this part be better if extracted from the main patch and then > backpatched? Even if not backpatched, a split would be cleaner on > HEAD, I assume, leading to less fuzz with the main patch. Yes, that's my plan, just wanted to float it here first to see if I was thinking about it all wrong. I will raise it on its own thread on = -hackers. The backpatchable portion is probably limited to a docs entry clarifying = the behaviour on Windows. -- Daniel Gustafsson