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

Поиск
Список
Период
Сортировка
От Devrim Gündüz
Тема Re: [GENERAL] make postgresql 9.5 default on centos 7
Дата
Msg-id 1503427494.24333.75.camel@gunduz.org
обсуждение исходный текст
Ответ на [GENERAL] make postgresql 9.5 default on centos 7  (Steve Clark <steve.clark@netwolves.com>)
Список pgsql-general
Hi,

On Fri, 2017-08-18 at 13:50 -0400, Steve Clark 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.

yum remove postgresql-*
yum reinstall postgresql95*

will do the trick. Please note that the second one will restart the database,
so make sure that you run these in a maintenance period.

The first command will remove all OS PostgreSQL packages. This is a required
step to remove actual binaries from OS. The second command will reinstall the
packages, and they will create alternatives entries for the binaries, etc.

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

Вложения

В списке pgsql-general по дате отправления:

Предыдущее
От: Igor Korot
Дата:
Сообщение: [GENERAL] Retrieving query results
Следующее
От: Alan Millington
Дата:
Сообщение: [GENERAL] plpython2.dll missing from Enterprise DB Postgres distribution