pg.ddx.io pgsql-admin@postgresql.org mailing list archive
help / color / mirror / Atom feedabout threaded libpq
2+ messages / 2 participants
[nested] [flat]
* about threaded libpq
@ 2007-06-05 14:06 Marc Cousin <mcousin@sigma.fr>
2007-06-06 03:51 ` Re: about threaded libpq Bruce Momjian <bruce@momjian.us>
0 siblings, 1 reply; 2+ messages in thread
From: Marc Cousin @ 2007-06-05 14:06 UTC (permalink / raw)
To: pgsql-admin
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.
Thanks a lot for feedback...
Marc Cousin
^ permalink raw reply [nested|flat] 2+ messages in thread
* Re: about threaded libpq
2007-06-05 14:06 about threaded libpq Marc Cousin <mcousin@sigma.fr>
@ 2007-06-06 03:51 ` Bruce Momjian <bruce@momjian.us>
0 siblings, 0 replies; 2+ messages in thread
From: Bruce Momjian @ 2007-06-06 03:51 UTC (permalink / raw)
To: Marc Cousin <mcousin@sigma.fr>; +Cc: 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. +
^ permalink raw reply [nested|flat] 2+ messages in thread
end of thread, other threads:[~2007-06-06 03:51 UTC | newest]
Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2007-06-05 14:06 about threaded libpq Marc Cousin <mcousin@sigma.fr>
2007-06-06 03:51 ` Bruce Momjian <bruce@momjian.us>
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