Re: PostgreSQL libraries - PThread Support, but not use...

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
Cc: Lee Kindness <lkindness(at)csl(dot)co(dot)uk>, pgsql-hackers(at)postgresql(dot)org
Subject: Re: PostgreSQL libraries - PThread Support, but not use...
Date: 2003-01-06 17:53:24
Message-ID: 24730.1041875604@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers pgsql-patches

Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)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

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Thomas O'Connell 2003-01-06 18:06:51 Re: Upgrading rant.
Previous Message Bruce Momjian 2003-01-06 17:48:51 Re: PostgreSQL libraries - PThread Support, but not use...

Browse pgsql-patches by date

  From Date Subject
Next Message Patric Bechtel 2003-01-06 17:54:48 New patch for streaming
Previous Message Bruce Momjian 2003-01-06 17:48:51 Re: PostgreSQL libraries - PThread Support, but not use...