Re: [GENERAL] make postgresql 9.5 default on centos 7

Поиск
Список
Период
Сортировка
От Alexander Farber
Тема Re: [GENERAL] make postgresql 9.5 default on centos 7
Дата
Msg-id CAADeyWgRPMY51-i8YRpPmd=bXFF9qticDcAN8EPvPX-pLBdVFg@mail.gmail.com
обсуждение исходный текст
Ответ на [GENERAL] make postgresql 9.5 default on centos 7  (Steve Clark <steve.clark@netwolves.com>)
Ответы Re: [GENERAL] make postgresql 9.5 default on centos 7
Список 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 по дате отправления:

Предыдущее
От: Wells Oliver
Дата:
Сообщение: Re: [GENERAL] A question on GIN indexes and arrays
Следующее
От: Alexander Farber
Дата:
Сообщение: Re: [GENERAL] make postgresql 9.5 default on centos 7