Re: BUG #12830: postgres-9.4 upgrade is missing PGPORT

From: Bruce Momjian <bruce(at)momjian(dot)us>
To: pgriboval(at)yahoo(dot)fr
Cc: pgsql-bugs(at)postgresql(dot)org
Subject: Re: BUG #12830: postgres-9.4 upgrade is missing PGPORT
Date: 2015-03-07 18:38:28
Message-ID: 20150307183828.GL12967@momjian.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

On Thu, Mar 5, 2015 at 08:41:09AM +0000, pgriboval(at)yahoo(dot)fr wrote:
> The following bug has been logged on the website:
>
> Bug reference: 12830
> Logged by: postgres-9.4 upgrade is missing PGPORT
> Email address: pgriboval(at)yahoo(dot)fr
> PostgreSQL version: 9.4.1
> Operating system: Centos 6.5
> Description:
>
> In /etc/init.d/postgresql-9.4 there is no more PGPORT defined.
>
> You can read this comment in the script:
>
> # Version 9.4.0 Devrim Gunduz
> # Remove PGPORT variable.
>
> But bellow this command requires the PGPORT var to be set otherwise the
> upgrade script does not work
>
> NEWPGPORT=`sed -n 's/^PGPORT=//p' /etc/init.d/postgresql-$PGMAJORVERSION`
>
> workaround is to set back PGPORT=5433, run the upgrade script and remove the
> PGPORT variabla in the script

Uh, the community does not maintain these scripts, which I assume are
for RPMs. You need to contact the RPM authors.

--
Bruce Momjian <bruce(at)momjian(dot)us> http://momjian.us
EnterpriseDB http://enterprisedb.com

+ Everyone has their own god. +

In response to

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message Stephen Frost 2015-03-07 19:00:57 Re: BUG #12830: postgres-9.4 upgrade is missing PGPORT
Previous Message Jean-Pierre Pelletier 2015-03-07 03:24:58 Cluster set to French_France when French_Canada selected in 9.4.1 x64 Windows Installer