From: Rosser Schwarz <rosser.schwarz@gmail.com>
To: Neha Mehta <Neha.Mehta@lntinfotech.com>
Cc: pgsql-performance@postgresql.org <pgsql-performance@postgresql.org>
Subject: Re: PgPool II configuration with PostgreSQL 8.4
Date: Thu, 6 May 2010 16:28:10 -0600
Message-ID: <r2y37d451f71005061528zee5ea9aezfed051e3d105bc65@mail.gmail.com> (raw)
In-Reply-To: <38DE460E2357D04A9369D5EB8A69E0540311B4093C@VSHINMSMBX01.vshodc.lntinfotech.com>
References: <Acrs0xYNC0jOVUfgSN+h6490n+s5cg==>
<38DE460E2357D04A9369D5EB8A69E0540311B4093C@VSHINMSMBX01.vshodc.lntinfotech.com>
On Wed, May 5, 2010 at 10:17 PM, Neha Mehta <Neha.Mehta@lntinfotech.com>wrote:
> I am trying to have synchronous master-master replication in PostgreSQL8.4
> using PgPool II. I am not able to configure PgPool on the system, it gives
> me an error, libpq is not installed or libpq is old.
>
(FYI: This topic is probably more germane to the -ADMIN list, or at least
-GENERAL, than it is to -PERFORM.)
Is there a particular reason you're building pgpool, rather than installing
it via your distribution's package manager? Most distributions have it
available these days. (At a minimum, any distribution that's widely-used
and well-enough understood to warrant hosting something as critical as your
RDBMS should have it.)
FWIW, I'm successfully using pgpool-II against a pair of 8.4 instances (in
the connection pool mode, not replication, and all installed from the PGDG
RPM repository). I'm also using Bucardo (in its multi-master/swap mode) to
handle the replication, as suggested by someone else down-thread. So
there's an existence proof that it *can* work.
Finally, when PostgreSQL is installed, libpq.so.N is usually put under
/usr/lib(64)/, not under the postgres install directory. Your distribution
should have a postgresql-devel package available which will provide a
pg_config command that can be used to pass the *actual* installed locations
to a configure invocation, as in:
./configure --with-pgsql-libdir=`pg_config --libdir`...
rls
--
:wq
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-performance@postgresql.org
Cc: rosser.schwarz@gmail.com, Neha.Mehta@lntinfotech.com
Subject: Re: PgPool II configuration with PostgreSQL 8.4
In-Reply-To: <r2y37d451f71005061528zee5ea9aezfed051e3d105bc65@mail.gmail.com>
References: <Acrs0xYNC0jOVUfgSN+h6490n+s5cg==> <38DE460E2357D04A9369D5EB8A69E0540311B4093C@VSHINMSMBX01.vshodc.lntinfotech.com> <r2y37d451f71005061528zee5ea9aezfed051e3d105bc65@mail.gmail.com>
* 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