Re: Help: Installing 9.6 breaks local connections to 9.2 on Centos 6.9

From: Devrim Gündüz <devrim(at)gunduz(dot)org>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, Adrian Klaver <adrian(dot)klaver(at)aklaver(dot)com>
Cc: Ken Tanzer <ken(dot)tanzer(at)gmail(dot)com>, PG-General Mailing List <pgsql-general(at)postgresql(dot)org>
Subject: Re: Help: Installing 9.6 breaks local connections to 9.2 on Centos 6.9
Date: 2017-05-15 20:45:53
Message-ID: 1494881153.2986.27.camel@gunduz.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general


Hi,

On Mon, 2017-05-15 at 16:34 -0400, Tom Lane wrote:
> > bash-4.1$ /usr/pgsql-9.2/bin/psql -p 5432
> > psql: could not connect to server: Connection refused
> >        Is the server running locally and accepting
> >        connections on Unix domain socket
> > "/var/run/postgresql/.s.PGSQL.5432"?
>
> The default is actually compiled into libpq.so, not psql itself.
> So I'm thinking what's happening here is the 9.2 psql is picking
> up a libpq.so supplied by 9.6.

Yeah, sorry, my bad. I forgot that the RPMs also put a file under
/etc/ld.so.conf.d, so that the latest libpq is picked up.

Regards,
--
Devrim Gündüz
EnterpriseDB: http://www.enterprisedb.com
PostgreSQL Danışmanı/Consultant, Red Hat Certified Engineer
Twitter: @DevrimGunduz , @DevrimGunduzTR

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Merlin Moncure 2017-05-15 20:52:08 Re: Insert performance and disk usage in JSON vs JSONB
Previous Message Ken Tanzer 2017-05-15 20:40:00 Re: Help: Installing 9.6 breaks local connections to 9.2 on Centos 6.9