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-05T15:24:51Z
Lists: pgsql-bugs
Christian Maurer <c.maurer@gmx.at> writes:
> I could apply your patch and compile libpq on Windows 10.
>  
> The parallel connect issues are gone now
> * in the minimal example and
> * also in our regression test which showed the issue in the first place.

Great, thanks for the confirmation.

> 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.

			regards, tom lane



Commits

  1. Avoid concurrent calls to bindtextdomain().