Received: from maia.hub.org (maia-4.hub.org [200.46.204.183]) by mail.postgresql.org (Postfix) with ESMTP id DF9C5633877 for ; Thu, 6 May 2010 19:28:19 -0300 (ADT) Received: from mail.postgresql.org ([200.46.204.86]) by maia.hub.org (mx1.hub.org [200.46.204.183]) (amavisd-maia, port 10024) with ESMTP id 26135-10 for ; Thu, 6 May 2010 22:28:11 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail-gy0-f174.google.com (mail-gy0-f174.google.com [209.85.160.174]) by mail.postgresql.org (Postfix) with ESMTP id 43B4D632A48 for ; Thu, 6 May 2010 19:28:12 -0300 (ADT) Received: by gyg13 with SMTP id 13so309647gyg.19 for ; Thu, 06 May 2010 15:28:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:cc:content-type; bh=tI4oyRQWmuOdTNe5k+UPkFksDa3aFi8EdvnNbFQHuEc=; b=QVg5+y5WF+Gon/4u2kNzycadv7N18uSaI/ueCS0M1wmAFyjPX8cHqPevyN1a9kFMjv bgKeYOaOYOeLT95OmeT+t8N04PUHcaIOGe3v+Vum+iokmDopHQ5bzftCuKOmsOSRXciP LLkIJ4/T+xgW3iYjlycQZnMI7U8PkBP2YLn+w= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=nhdFfqHN6g7FIo8NCEDDFCU2lIkirBTzviqQHAPVo1xJEWefmmgbQm4HhxGkNl5XC9 yosB+f/mo1s22Lz1sSL3UhKKosr9VUolUBWCnSpnJYPHWdpSRDD0UjlxqUW3ImeEt3RP DxbVJHABncJfSCx8zLmNxLeIaENjOrLoU6ZKc= MIME-Version: 1.0 Received: by 10.91.14.8 with SMTP id r8mr154715agi.60.1273184891032; Thu, 06 May 2010 15:28:11 -0700 (PDT) Received: by 10.90.67.10 with HTTP; Thu, 6 May 2010 15:28:10 -0700 (PDT) In-Reply-To: <38DE460E2357D04A9369D5EB8A69E0540311B4093C@VSHINMSMBX01.vshodc.lntinfotech.com> References: <38DE460E2357D04A9369D5EB8A69E0540311B4093C@VSHINMSMBX01.vshodc.lntinfotech.com> Date: Thu, 6 May 2010 16:28:10 -0600 Message-ID: Subject: Re: PgPool II configuration with PostgreSQL 8.4 From: Rosser Schwarz To: Neha Mehta Cc: "pgsql-performance@postgresql.org" Content-Type: multipart/alternative; boundary=0016364ee1f229d7780485f475c2 X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=-1.899 tagged_above=-10 required=5 tests=BAYES_00=-1.9, HTML_MESSAGE=0.001 X-Spam-Level: X-Archive-Number: 201005/18 X-Sequence-Number: 38602 --0016364ee1f229d7780485f475c2 Content-Type: text/plain; charset=ISO-8859-1 On Wed, May 5, 2010 at 10:17 PM, Neha Mehta 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 --0016364ee1f229d7780485f475c2 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable On Wed, May 5, 2010 at 10:17 PM, Neha Mehta <Neha.Mehta@lntinfotech.com> wrote:

= I am trying to have synch= ronous 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=A0not insta= lled or libpq is old.

(FYI: This topic is probably more germa= ne 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? = =A0Most distributions have it available these days. =A0(At a minimum, any d= istribution that's widely-used and well-enough understood to warrant ho= sting something as critical as your RDBMS should have it.)

FWIW, I'm successfully using pgpool-II against a pa= ir of 8.4 instances (in the connection pool mode, not replication, and all = installed from the PGDG RPM repository). =A0I'm also using Bucardo (in = its multi-master/swap mode) to handle the replication, as suggested by some= one else down-thread. =A0So there's an existence proof that it *can* wo= rk.

Finally, when PostgreSQL is installed, libpq.so.N is us= ually put under /usr/lib(64)/, not under the postgres install directory. = =A0Your distribution should have a postgresql-devel package available which= will provide a pg_config command that can be used to pass the *actual* ins= talled locations to a configure invocation, as in:

./configure --with-pgsql-libdir=3D`pg_config --libdir`.= ..

rls

--
:wq
--0016364ee1f229d7780485f475c2--