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

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: PostgreSQL libraries - PThread Support, but not use...
Дата
Msg-id 24730.1041875604@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: PostgreSQL libraries - PThread Support, but not use...  (Bruce Momjian <pgman@candle.pha.pa.us>)
Ответы Re: PostgreSQL libraries - PThread Support, but not use...  (Lee Kindness <lkindness@csl.co.uk>)
Список 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 по дате отправления:

Предыдущее
От: Bruce Momjian
Дата:
Сообщение: Re: PostgreSQL libraries - PThread Support, but not use...
Следующее
От: Thomas O'Connell
Дата:
Сообщение: Re: Upgrading rant.