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.96) (envelope-from ) id 1w2sLn-000gnq-0M for pgsql-hackers@arkaria.postgresql.org; Wed, 18 Mar 2026 14:58:23 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.96) (envelope-from ) id 1w2sLl-00BmwS-2p for pgsql-hackers@arkaria.postgresql.org; Wed, 18 Mar 2026 14:58:21 +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.96) (envelope-from ) id 1w2sLl-00BmwK-1Z for pgsql-hackers@lists.postgresql.org; Wed, 18 Mar 2026 14:58:21 +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.98.2) (envelope-from ) id 1w2sLi-00000000wx5-3vyv for pgsql-hackers@lists.postgresql.org; Wed, 18 Mar 2026 14:58:21 +0000 Received: from s807.loopia.se (localhost [127.0.0.1]) by s807.loopia.se (Postfix) with ESMTP id 0C6BB565C57 for ; Wed, 18 Mar 2026 15:58:14 +0100 (CET) Received: from s934.loopia.se (unknown [172.22.191.5]) by s807.loopia.se (Postfix) with ESMTP id E9DF35666A7; Wed, 18 Mar 2026 15:58:13 +0100 (CET) Received: from localhost (unknown [172.22.191.5]) by s934.loopia.se (Postfix) with ESMTP id DF96D7CEA8C; Wed, 18 Mar 2026 15:58:13 +0100 (CET) X-Virus-Scanned: amavis 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: s473.loopia.se (amavis); dkim=pass (2048-bit key) header.d=yesql.se Received: from s899.loopia.se ([172.22.191.5]) by localhost (s473.loopia.se [172.22.190.13]) (amavis, port 10024) with LMTP id 7jkDxrcEUtED; Wed, 18 Mar 2026 15:58:13 +0100 (CET) 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 s899.loopia.se (Postfix) with ESMTPSA id E8B2C2C8BAB7; Wed, 18 Mar 2026 15:58:12 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yesql.se; s=loopiadkim1707475645; t=1773845893; bh=MIuZ2AcR9HOIG6wn8gGGnSh2dNTP+ROCSQ9x1qwQ8Eo=; h=Subject:From:In-Reply-To:Date:Cc:References:To; b=cxraLS4s0LsLfvFnXRcrQHD0Oce7ZU5vqSkHuoxMyD7r326uhlziyvXyp8Xeu0pmQ d37NmbYTpq7lRQ7tiDwFXcxpvvZpRoSDiAArFDq5Cmx7X861Y4TpZRBn9pTu/+uuBr TqpA8exM5BnFHyRQAHG/3tptjl1pxAmWfoBol8D1zBgQuxZy5HF/cg7gQRnDXSKKth o76skcIQzBlscM/qxcDFkGeFF+3wOTNovLrHHTdeGZsE6WvoLSzSfeRlILPW3PkxZc P/feB+Mih2YfIe1lOFmJepYaHm28m9CQfwv3tS/9FHXxhWlMYfSR5j6UKBQTtU17Du SCFoKNlIGDfsQ== 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: <681317.1773844416@sss.pgh.pa.us> Date: Wed, 18 Mar 2026 15:58:02 +0100 Cc: Jacob Champion , Zsolt Parragi , Jelte Fennema-Nio , Heikki Linnakangas , Dewei Dai , "li.evan.chao" , Michael Paquier , Andres Freund , Pgsql Hackers Content-Transfer-Encoding: quoted-printable Message-Id: <9B50439C-F124-40BC-9CDE-3AF0839A323C@yesql.se> References: <88986722-5A72-4DEC-8750-BDBF67FF8C01@yesql.se> <7E77028B-5A3A-436B-9046-8E9992E9F94A@yesql.se> <0BC5B9B1-6503-4563-AAC6-33DEF264AE3F@yesql.se> <80F4F8F4-8E4F-4B6F-866B-D837057C1192@yesql.se> <0C53C316-C24E-4307-807B-D825CA3F7254@yesql.se> <378D83FA-338C-4EA1-BC60-397BE08D0F01@yesql.se> <2025112617144938459246@163.com> <0217DEFA-9684-4A77-A005-D30EBEF155C4@yesql.se> <5D0E78E0-EA79-480E-ABD3-B1EF0156BF8B@yesql.se> <785C0B88-7068-4576-AF55-251D06CEC112@yesql.se> <01412917-C42E-4238-97E2-707C32940DDD@yesql.se> <1C38F269-E552-4F78-9E88-E91CEDB12F35@yesql.se> <23D19F69-A8DE-4F89-99F6-5FC48762CE4D@yesql.se> <561BF011-1626-43A5-BD82-913E67EEB! A8B@yesql.se> <681317.1773844416@sss.pgh.pa.us> To: Tom Lane 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 18 Mar 2026, at 15:33, Tom Lane wrote: >=20 > Daniel Gustafsson writes: >> The longfin issue is a bit more odd, I can reproduce it on macOS with = OpenSSL >> 1.1.1 but nowhere else. Rather than reporting an SSL error for = aborted >> handshake it reports a SYSCALL error. >=20 > IIRC longfin is using some fairly old hand-built openssl installation. Thanks for confirming, that matches with my local repro which required = building 1.1.1 on macOS. Did you build with Apple clang or a a stock clang/gcc? > Maybe I should just update it. Do you want to hold off and see if > that changes anything? Let's wait a little while I research little more. I can reproduce it = locally but it's better with two independent cases. -- Daniel Gustafsson