Re: missing scripts in CentOS6 PG10 server package

From: Devrim Gündüz <devrim(at)gunduz(dot)org>
To: Martin Marques <martin(dot)marques(at)2ndquadrant(dot)com>, pgsql-pkg-yum <pgsql-pkg-yum(at)postgresql(dot)org>
Subject: Re: missing scripts in CentOS6 PG10 server package
Date: 2018-06-26 23:35:28
Message-ID: d6a799838b68a45f78a62e6553c4eea48ff867bf.camel@gunduz.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

In response to

Browse pgsql-pkg-yum by date

  From Date Subject
Next Message Devrim Gündüz 2018-06-26 23:40:54 Re: RPM Morgue
Previous Message Martin Marques 2018-06-26 01:29:09 missing scripts in CentOS6 PG10 server package