Re: missing scripts in CentOS6 PG10 server package

Поиск
Список
Период
Сортировка
От Devrim Gündüz
Тема Re: missing scripts in CentOS6 PG10 server package
Дата
Msg-id d6a799838b68a45f78a62e6553c4eea48ff867bf.camel@gunduz.org
обсуждение исходный текст
Ответ на missing scripts in CentOS6 PG10 server package  (Martin Marques <martin.marques@2ndquadrant.com>)
Список pgsql-pkg-yum
Hi Martin,

On Mon, 2018-06-25 at 22:29 -0300, Martin Marques wrote:
> Today I had to set up a 10 server and when trying to use
> postgresql-10-setup I found it was missing (together with
> postgresql-10-check-db-dir as well)
>
> The scripts are available in Fedora, but not CentOS 6 (couldn't check
> CentOS 7 yet)
>
> I can't find any reason why the would not be present on CentOS6.
>
> Are they just missing or is there a reason for them not being there?

That script is for systemd-based distros -- you need to use the old way to
initdb on CentOS 6:

service postgresql-11 initdb

Regards,

--
Devrim Gündüz
EnterpriseDB: https://www.enterprisedb.com
PostgreSQL Consultant, Red Hat Certified Engineer
Twitter: @DevrimGunduz , @DevrimGunduzTR
Вложения

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

Предыдущее
От: Martin Marques
Дата:
Сообщение: missing scripts in CentOS6 PG10 server package
Следующее
От: Devrim Gündüz
Дата:
Сообщение: Re: RPM Morgue