From: Bruce Momjian <bruce@momjian.us>
To: Marc Cousin <mcousin@sigma.fr>
Cc: pgsql-admin@postgresql.org
Subject: Re: about threaded libpq
Date: Tue, 5 Jun 2007 23:51:31 -0400 (EDT)
Message-ID: <200706060351.l563pV628487@momjian.us> (raw)
In-Reply-To: <200706051606.04810.mcousin@sigma.fr>
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. +
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-admin@postgresql.org
Cc: bruce@momjian.us, mcousin@sigma.fr
Subject: Re: about threaded libpq
In-Reply-To: <200706060351.l563pV628487@momjian.us>
References: <200706051606.04810.mcousin@sigma.fr> <200706060351.l563pV628487@momjian.us>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox