Re: PostgreSQL libraries - PThread Support, but not use... - Mailing list pgsql-hackers

From Tom Lane
Subject Re: PostgreSQL libraries - PThread Support, but not use...
Date
Msg-id 24730.1041875604@sss.pgh.pa.us
Whole thread Raw
In response to Re: PostgreSQL libraries - PThread Support, but not use...  (Bruce Momjian <pgman@candle.pha.pa.us>)
Responses Re: PostgreSQL libraries - PThread Support, but not use...  (Lee Kindness <lkindness@csl.co.uk>)
List pgsql-hackers
Bruce Momjian <pgman@candle.pha.pa.us> writes:
> We have definatly had requests for improved thread-safeness for libpq
> and ecpg in the past, so whatever you can do would be a help.  We say
> libpq is thread-safe, but specifically mention the non-threadsafe calls
> in the libpq documentation, or at least we should.

We do:
http://www.ca.postgresql.org/users-lounge/docs/7.3/postgres/libpq-threading.html

But Lee's point about depending on possibly-unsafe libc routines is a
good one.  I don't think anyone's gone through the code with an eye to
that.
        regards, tom lane


pgsql-hackers by date:

Previous
From: Bruce Momjian
Date:
Subject: Re: PostgreSQL libraries - PThread Support, but not use...
Next
From: Thomas O'Connell
Date:
Subject: Re: Upgrading rant.