Re: PostgreSQL and OpenSSL 4.0.0

Michael Paquier <michael@paquier.xyz>

From: Michael Paquier <michael@paquier.xyz>
To: Daniel Gustafsson <daniel@yesql.se>
Cc: PostgreSQL-development <pgsql-hackers@lists.postgresql.org>
Date: 2026-04-17T21:50:57Z
Lists: pgsql-hackers
On Thu, Apr 16, 2026 at 03:32:54PM +0200, Daniel Gustafsson wrote:
> The attached patch, while not pretty, allows libpq and sslinfo to build without
> warnings on OpenSSL 1.1.1 through 4.0.0 as well as on LibreSSL (and there is
> quite some variability in constness across all these API versions).

Thanks for that.  That is super fast.

This is likely going to require a backpatch at some point, right?
What's the impact of the blast in branches where we need to support
OpenSSL down to 1.0.1, which is the minimum version in REL_14_STABLE?
--
Michael

Commits

Same data as JSON: GET /api/v1/messages/:b64id/commits the thread's linked commits as JSON, with link sources. API reference →
  1. Fix compilation with OpenSSL 4