Re: about threaded libpq

Поиск
Список
Период
Сортировка
От Bruce Momjian
Тема Re: about threaded libpq
Дата
Msg-id 200706060351.l563pV628487@momjian.us
обсуждение исходный текст
Ответ на about threaded libpq  (Marc Cousin <mcousin@sigma.fr>)
Список pgsql-admin
Marc Cousin wrote:
> Hi,
>
> I'm currently working with bacula developpers in order to improve performance
> (mainly for postgresql).
>
> In order for our new code to work, we need to be sure that libpq is threaded.
> For 8.2, we can use PQisthreadsafe();. The problem is we cannot force all
> users to migrate to 8.2, and that many of them use packaged postgresql
> binaries.
>
> Is there another reliable way to determine (at bacula configure time for
> instance) that libpq is threaded ? (it also has to be a way/several ways that
> works on all platforms, as bacula runs on many unix and win32). We'd like to
> do it as well as possible.

Uh, you can look at the 'pg_config --configure' output.

--
  Bruce Momjian  <bruce@momjian.us>          http://momjian.us
  EnterpriseDB                               http://www.enterprisedb.com

  + If your life is a hard drive, Christ can be your backup. +

В списке pgsql-admin по дате отправления:

Предыдущее
От: Peter Koczan
Дата:
Сообщение: Re: Help with database change
Следующее
От: De Leeuw Guy
Дата:
Сообщение: Re: get the array content whis the select clause