Re: BUG #18312: libpq: PQsetdbLogin() not thread-safe

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

From: Tom Lane <tgl@sss.pgh.pa.us>
To: Christian Maurer <c.maurer@gmx.at>
Cc: pgsql-bugs@lists.postgresql.org
Date: 2024-02-05T20:05:38Z
Lists: pgsql-bugs
I wrote:
> Christian Maurer <c.maurer@gmx.at> writes:
>> Would it be possible, that the patch you are aiming to make can be included in version 16.2?

> I'm afraid we're a few days too late for that --- even if I had
> a finished patch, the release freeze started two days ago.
> It'll be in the May releases, instead.

For the archives' sake --- I've posted a patch for this at [1].

			regards, tom lane

[1] https://www.postgresql.org/message-id/264860.1707163416%40sss.pgh.pa.us



Commits

  1. Avoid concurrent calls to bindtextdomain().