Re: [GENERAL] make postgresql 9.5 default on centos 7 - Mailing list pgsql-general

From Alexander Farber
Subject Re: [GENERAL] make postgresql 9.5 default on centos 7
Date
Msg-id CAADeyWgRPMY51-i8YRpPmd=bXFF9qticDcAN8EPvPX-pLBdVFg@mail.gmail.com
Whole thread Raw
In response to [GENERAL] make postgresql 9.5 default on centos 7  (Steve Clark <steve.clark@netwolves.com>)
Responses Re: [GENERAL] make postgresql 9.5 default on centos 7  (Alexander Farber <alexander.farber@gmail.com>)
List pgsql-general
Hi Steve,

On Fri, Aug 18, 2017 at 7:50 PM, Steve Clark <steve.clark@netwolves.com> wrote:

I loaded 9.5 on CentOS 7 but by default every thing wants to use the default
9.2 version that comes with CentOS 7.

Is there a simple way to fix this so the 9.5 version of tools and libraries are used.


to use PostgreSQL 9.6 on CentOS 7 -

first delete the postgresql packages coming with CentOS 7 by using "yum erase ...." command and then:

rpm -Uvh https://download.postgresql.org/pub/repos/yum/9.6/redhat/rhel-7-x86_64/pgdg-centos96-9.6-3.noarch.rpm
yum install postgresql96-server
systemctl initdb postgresql-9.6
systemctl enable postgresql-9.6
systemctl start postgresql-9.6
systemctl status -l postgresql-9.6

Regards
Alex

pgsql-general by date:

Previous
From: Wells Oliver
Date:
Subject: Re: [GENERAL] A question on GIN indexes and arrays
Next
From: Alexander Farber
Date:
Subject: Re: [GENERAL] make postgresql 9.5 default on centos 7