Re: 9.6 Beta2 /etc/init.d script setting PGDATA to 9.5 location

From: Jeff Frost <jeff(at)pgexperts(dot)com>
To: "Nicholson, Brad (Toronto, ON, CA)" <bnicholson(at)hpe(dot)com>
Cc: "pgsql-pkg-yum(at)postgresql(dot)org" <pgsql-pkg-yum(at)postgresql(dot)org>
Subject: Re: 9.6 Beta2 /etc/init.d script setting PGDATA to 9.5 location
Date: 2016-06-29 15:11:47
Message-ID: A0DE1548-E2D0-4754-9388-AB92CB1856C4@pgexperts.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-pkg-yum

>
> On Jun 29, 2016, at 7:56 AM, Nicholson, Brad (Toronto, ON, CA) <bnicholson(at)hpe(dot)com> wrote:
>
> Hi,
>
> I installed 9.6 beta2 with the following repo - pgdg-centos96-9.6-1.noarch.rpm
>
> The init script is still referencing 9.5 in couple of places, including PGDATA (see below). I bumped into this when trying to do an initdb with the script on a system with 9.5 on it (which obviously failed)
>
> grep 9.5 /etc/init.d/postgresql-9.6
> # PGVERSION is the full package version, e.g., 9.5.0
> # PGMAJORVERSION is major version, e.g., 9.5 (this should match PG_VERSION)
> PGDATA=/var/lib/pgsql/9.5/data
> PGLOG=/var/lib/pgsql/9.5/pgstartup.log

Thanks for the bug report! Will get this fixed up.

In response to

Responses

Browse pgsql-pkg-yum by date

  From Date Subject
Next Message Jeff Frost 2016-06-29 16:18:12 Re: 9.6 Beta2 /etc/init.d script setting PGDATA to 9.5 location
Previous Message Nicholson, Brad (Toronto, ON, CA) 2016-06-29 14:56:09 9.6 Beta2 /etc/init.d script setting PGDATA to 9.5 location