Re: [HACKERS] Threads

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: "Ross J(dot) Reedstrom" <reedstrm(at)wallace(dot)ece(dot)rice(dot)edu>
Cc: pgsql-hackers(at)postgreSQL(dot)org
Subject: Re: [HACKERS] Threads
Date: 1999-08-03 16:13:55
Message-ID: 15332.933696835@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

"Ross J. Reedstrom" <reedstrm(at)wallace(dot)ece(dot)rice(dot)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

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Bruce Momjian 1999-08-03 16:19:13 Re: [HACKERS] Threads
Previous Message Bruce Momjian 1999-08-03 16:12:05 Re: [HACKERS] pg_upgrade may be mortally wounded