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

From: Christian Maurer <c(dot)maurer(at)gmx(dot)at>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, pgsql-bugs(at)lists(dot)postgresql(dot)org
Subject: Re: BUG #18312: libpq: PQsetdbLogin() not thread-safe
Date: 2024-02-02 16:27:24
Message-ID: trinity-31b9e9ec-519e-4c85-8029-632609642c16-1706891244274@3c-app-gmx-bap32
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

In response to

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message Tom Lane 2024-02-02 18:19:42 Re: BUG #18312: libpq: PQsetdbLogin() not thread-safe
Previous Message Andrei Lepikhov 2024-02-02 16:24:29 Re: v17 Possible Union All Bug