Re: make postgresql 9.5 default on centos 7

From: Alexander Farber <alexander(dot)farber(at)gmail(dot)com>
To: Steve Clark <steve(dot)clark(at)netwolves(dot)com>
Cc: pgsql <pgsql-general(at)postgresql(dot)org>
Subject: Re: make postgresql 9.5 default on centos 7
Date: 2017-08-21 06:42:49
Message-ID: CAADeyWgRPMY51-i8YRpPmd=bXFF9qticDcAN8EPvPX-pLBdVFg@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Hi Steve,

On Fri, Aug 18, 2017 at 7:50 PM, Steve Clark <steve(dot)clark(at)netwolves(dot)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

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Alexander Farber 2017-08-21 06:45:43 Re: make postgresql 9.5 default on centos 7
Previous Message Wells Oliver 2017-08-20 23:35:18 Re: A question on GIN indexes and arrays