Re: [PATCH] fix race condition in libpq (related to ssl connections)

Michael Paquier <michael@paquier.xyz>

From: Michael Paquier <michael@paquier.xyz>
To: Thomas Munro <thomas.munro@gmail.com>
Cc: Aleksander Alekseev <aleksander@timescale.com>, PostgreSQL Hackers <pgsql-hackers@lists.postgresql.org>, Willi Mann <w.mann@celonis.de>
Date: 2023-11-24T05:45:06Z
Lists: pgsql-hackers
On Wed, Nov 22, 2023 at 02:58:15PM +1300, Thomas Munro wrote:
> On Wed, Nov 22, 2023 at 2:44 PM Michael Paquier <michael@paquier.xyz> wrote:
>> Because --disable-thread-safe has been removed recently in
>> 68a4b58eca03.  The routine could be marked as deprecated on top of
>> saying that it always returns 1 for 17~.
> 
> See also commit ce0b0fa3 "Doc: Adjust libpq docs about thread safety."

Sure, I've noticed that in the docs, but declaring it as deprecated is
a different topic, and we don't actually use this term in the docs for
this routine, no?
--
Michael

Commits

  1. Fix race condition with BIO methods initialization in libpq with threads

  2. Doc: Adjust libpq docs about thread safety.