🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: pgsql.performance
Article #1

Re: [PERFORM] PgPool II configuration with PostgreSQL 8.4

#1
From: Kamlesh Kumar
Date: Sat, 21 Jan 2023 10:44
38 lines
3561 bytes
On Friday, May 7, 2010 at 3:28:10 AM UTC+5, Rosser Schwarz wrote:
> On Wed, May 5, 2010 at 10:17 PM, Neha Mehta <Neha....@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

Just use this command
./configure --with-pgsql-libdir=/usr/lib(directory of lib folder in PostgreSQL installation folder) folder --with-pgsql-includedir=path-to-the-dir-where-libpq-fe.h-exists
Technical Details
Message-ID: <3209c961-436f-4577-9708-ddb9d45b2857n@googlegroups.com>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!archive!apf9.newsdeef.eu!nnrp.usenet.blueworldhosting.com!!spool1.usenet.blueworldhosting.com!usenet.blueworldhosting.com!feed1.usenet.blueworldhosting.com!peer03.iad!feed-me.highwinds-media.com!news.highwinds-media.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
References: <Acrs0xYNC0jOVUfgSN+h6490n+s5cg==> <38DE460E2357D04A9369D5EB8A69E0540311B4093C@VSHINMSMBX01.vshodc.lntinfotech.com> <r2y37d451f71005061528zee5ea9aezfed051e3d105bc65@mail.gmail.com>

Show Full Headers
Complete Article Headers
Message-ID: <3209c961-436f-4577-9708-ddb9d45b2857n@googlegroups.com>
Subject: Re: [PERFORM] PgPool II configuration with PostgreSQL 8.4
Date: Sat, 21 Jan 2023 10:44:50 +0000
From: Kamlesh Kumar <kkumar.bscs20seecs@seecs.edu.pk>
References: <Acrs0xYNC0jOVUfgSN+h6490n+s5cg==> <38DE460E2357D04A9369D5EB8A69E0540311B4093C@VSHINMSMBX01.vshodc.lntinfotech.com> <r2y37d451f71005061528zee5ea9aezfed051e3d105bc65@mail.gmail.com>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!archive!apf9.newsdeef.eu!nnrp.usenet.blueworldhosting.com!!spool1.usenet.blueworldhosting.com!usenet.blueworldhosting.com!feed1.usenet.blueworldhosting.com!peer03.iad!feed-me.highwinds-media.com!news.highwinds-media.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
X-Received: by 2002:a05:6214:5906:b0:4c7:8cda:8300 with SMTP id lp6-20020a056214590600b004c78cda8300mr568629qvb.36.1674297891251;
X-Received: by 2002:a0c:8dcf:0:b0:534:9ce4:1c03 with SMTP id
 u15-20020a0c8dcf000000b005349ce41c03mr929942qvb.20.1674297891065; Sat, 21 Jan
Newsgroups: pgsql.performance
In-Reply-To: <r2y37d451f71005061528zee5ea9aezfed051e3d105bc65@mail.gmail.com>
Injection-Info: google-groups.googlegroups.com; posting-host=2400:adc3:110:4400:1bcc:f05c:dcec:ec23;
 posting-account=wJt9tgoAAADzXb5JGeIJ-7TDgsA0AtOC
NNTP-Posting-Host: 2400:adc3:110:4400:1bcc:f05c:dcec:ec23
User-Agent: G2/1.0
MIME-Version: 1.0
Injection-Date: Sat, 21 Jan 2023 10:44:51 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Received-Bytes: 3234