Re: about threaded libpq

From: Bruce Momjian <bruce(at)momjian(dot)us>
To: Marc Cousin <mcousin(at)sigma(dot)fr>
Cc: pgsql-admin(at)postgresql(dot)org
Subject: Re: about threaded libpq
Date: 2007-06-06 03:51:31
Message-ID: 200706060351.l563pV628487@momjian.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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(at)momjian(dot)us> http://momjian.us
EnterpriseDB http://www.enterprisedb.com

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

In response to

Browse pgsql-admin by date

  From Date Subject
Next Message Brad Nicholson 2007-06-06 13:57:44 Re: the right time to vacuum database?
Previous Message Charles.Hou 2007-06-06 00:28:10 Re: the right time to vacuum database?