Re: BUG #18312: libpq: PQsetdbLogin() not thread-safe - Mailing list pgsql-bugs

From Christian Maurer
Subject Re: BUG #18312: libpq: PQsetdbLogin() not thread-safe
Date
Msg-id trinity-31b9e9ec-519e-4c85-8029-632609642c16-1706891244274@3c-app-gmx-bap32
Whole thread Raw
In response to Re: Aw: BUG #18312: libpq: PQsetdbLogin() not thread-safe  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: BUG #18312: libpq: PQsetdbLogin() not thread-safe  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-bugs
> I wondered whether we needed to introduce a critical section
> to prevent multiple threads from calling that concurrently,
> even though its docs allege you shouldn't have to. Perhaps
> it's thread-safe except on Windows?
This would explain, why I could not reproduce the error on Red Hat Enterprise Linux.
 
Regards,
Christian Maurer



pgsql-bugs by date:

Previous
From: Andrei Lepikhov
Date:
Subject: Re: v17 Possible Union All Bug
Next
From: Tom Lane
Date:
Subject: Re: BUG #18312: libpq: PQsetdbLogin() not thread-safe