Re: new connection establishment (pgbench --connect) slow with pgbouncer due to libpq/OpenSSL global thread contention

From: Daniel Gustafsson <daniel(at)yesql(dot)se>
To: Jacob Champion <jacob(dot)champion(at)enterprisedb(dot)com>
Cc: Jakub Wartak <jakub(dot)wartak(at)enterprisedb(dot)com>, PostgreSQL Hackers <pgsql-hackers(at)lists(dot)postgresql(dot)org>, Michael Paquier <michael(at)paquier(dot)xyz>
Subject: Re: new connection establishment (pgbench --connect) slow with pgbouncer due to libpq/OpenSSL global thread contention
Date: 2026-05-28 16:45:56
Message-ID: A1EDF668-E259-45A8-9B5B-2AA0B8E7E99F@yesql.se
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

> On 28 May 2026, at 18:12, Jacob Champion <jacob(dot)champion(at)enterprisedb(dot)com> wrote:

> I'd like to discuss (possibly not as part of this thread) dropping
> support for 1.1.1 for PG20, which I think should make this somewhat
> easier.

Without commenting on the feasibility of it, I will say that it requires
separating OpenSSL and LibreSSL support since the latter need to keep using the
1.1.1 API. I have most of that done in a patch I intend to post soon, perhaps
we can pick up the discussion in that thread to make sure the groundwork is
prepapred.

--
Daniel Gustafsson

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Jacob Champion 2026-05-28 17:04:51 Re: Heads Up: cirrus-ci is shutting down June 1st
Previous Message Khoa Nguyen 2026-05-28 16:42:54 Re: Bound memory usage during manual slot sync retries