Re: Serverside SNI support in libpq

Tom Lane <tgl@sss.pgh.pa.us>

From: Tom Lane <tgl@sss.pgh.pa.us>
To: Daniel Gustafsson <daniel@yesql.se>
Cc: Jacob Champion <jacob.champion@enterprisedb.com>, Zsolt Parragi <zsolt.parragi@percona.com>, Jelte Fennema-Nio <postgres@jeltef.nl>, Heikki Linnakangas <hlinnaka@iki.fi>, Dewei Dai <daidewei1970@163.com>, "li.evan.chao" <li.evan.chao@gmail.com>, Michael Paquier <michael@paquier.xyz>, Andres Freund <andres@anarazel.de>, Pgsql Hackers <pgsql-hackers@lists.postgresql.org>
Date: 2026-03-18T15:35:50Z
Lists: pgsql-hackers
Daniel Gustafsson <daniel@yesql.se> writes:
> On 18 Mar 2026, at 15:33, Tom Lane <tgl@sss.pgh.pa.us> wrote:
>> 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?

It's been awhile, but I can't imagine that I didn't use Apple's
compiler of the time.  [ Checks longfin's host... ]  The files
in that openssl tree are all dated Nov 20 2018, so it's probably
due for a refresh in any case.

			regards, tom lane



Commits

Same data as JSON: GET /api/v1/messages/:b64id/commits the thread's linked commits as JSON, with link sources. API reference →
  1. Declare load_hosts() as returning HostsFileLoadResult.

  2. ssl: Skip passphrase reload tests in EXEC_BACKEND builds

  3. ssl: Serverside SNI support for libpq

  4. ssl: Add tests for client CA