BUG #12830: postgres-9.4 upgrade is missing PGPORT - Mailing list pgsql-bugs

From pgriboval@yahoo.fr
Subject BUG #12830: postgres-9.4 upgrade is missing PGPORT
Date
Msg-id 20150305084109.2546.73361@wrigleys.postgresql.org
Whole thread Raw
Responses Re: BUG #12830: postgres-9.4 upgrade is missing PGPORT  (Bruce Momjian <bruce@momjian.us>)
Re: BUG #12830: postgres-9.4 upgrade is missing PGPORT  (Devrim Gündüz <devrim@gunduz.org>)
List pgsql-bugs
The following bug has been logged on the website:

Bug reference:      12830
Logged by:          postgres-9.4 upgrade is missing PGPORT
Email address:      pgriboval@yahoo.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

pgsql-bugs by date:

Previous
From: suman.c@idealinvent.com
Date:
Subject: BUG #12836: pljava.dll for postgres 9.4.1-64 bit
Next
From: Tom Lane
Date:
Subject: Re: BUG #12050: Orphaned base files