Re: missing scripts in CentOS6 PG10 server package - Mailing list pgsql-pkg-yum

From Devrim Gündüz
Subject Re: missing scripts in CentOS6 PG10 server package
Date
Msg-id d6a799838b68a45f78a62e6553c4eea48ff867bf.camel@gunduz.org
Whole thread Raw
In response to missing scripts in CentOS6 PG10 server package  (Martin Marques <martin.marques@2ndquadrant.com>)
List 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
Attachment

pgsql-pkg-yum by date:

Previous
From: Martin Marques
Date:
Subject: missing scripts in CentOS6 PG10 server package
Next
From: Devrim Gündüz
Date:
Subject: Re: RPM Morgue