Re: WARNING: psql version 8.4, server version 9.2. - Mailing list pgsql-admin

From Devrim Gündüz
Subject Re: WARNING: psql version 8.4, server version 9.2.
Date
Msg-id 1415382373.2974.20.camel@asus-laptop-03.gunduz.org
Whole thread Raw
In response to Re: WARNING: psql version 8.4, server version 9.2.  ("Davenport, Julie" <JDavenport@ctcd.edu>)
List pgsql-admin
Hi,

On Tue, 2014-11-04 at 22:57 +0000, Davenport, Julie wrote:
> Thank you Jay and Payal, you were right, the wrong bin was in use:
>
> # ll /usr/bin/psql
> -rwxr-xr-x 1 root root 342832 Aug 27  2012 /usr/bin/psql
> (8.4 binary)
>
>
> # ll /usr/pgsql-9.2/bin/psql
> -rwxr-xr-x 1 root root 439352 Jul 22 11:25 /usr/pgsql-9.2/bin/psql
> (9.2 binary)
>
> # which psql
> /usr/bin/psql
>
> 8.4 was being used

I haven't tested recently, but if you remove 8.4 RPMs, I think you will
need to run

yum reinstall postgresql92 postgresql92-server

to rebuild the alternatives link (or extract them from the RPMs)

Regards,

--
Devrim GÜNDÜZ
Principal Systems Engineer @ EnterpriseDB: http://www.enterprisedb.com
PostgreSQL Danışmanı/Consultant, Red Hat Certified Engineer
Twitter: @DevrimGunduz , @DevrimGunduzTR


Attachment

pgsql-admin by date:

Previous
From: Albe Laurenz
Date:
Subject: Re: Autocommit off in psql
Next
From: Alex Lai
Date:
Subject: Use up too much memory