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