Re: [HACKERS] Threads - Mailing list pgsql-hackers

From Tom Lane
Subject Re: [HACKERS] Threads
Date
Msg-id 15332.933696835@sss.pgh.pa.us
Whole thread Raw
In response to Re: [HACKERS] Threads  ("Ross J. Reedstrom" <reedstrm@wallace.ece.rice.edu>)
Responses Re: [HACKERS] Threads
List pgsql-hackers
"Ross J. Reedstrom" <reedstrm@wallace.ece.rice.edu> writes:
> Hmm, what about threads in the frontend? Anyone know if libpq is thread
> safe, and if not, how hard it might be to make it so?

It is not; the main reason why not is a brain-dead part of the API that
exposes modifiable global variables.  Check the mail list archives
(probably psql-interfaces, but maybe -hackers) for previous discussions
with details.  Earlier this year I think, or maybe late 98.
        regards, tom lane


pgsql-hackers by date:

Previous
From: Bruce Momjian
Date:
Subject: Re: [HACKERS] pg_upgrade may be mortally wounded
Next
From: Bruce Momjian
Date:
Subject: Re: [HACKERS] Threads