pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Devrim Gündüz <devrim@gunduz.org>
To: pgriboval@yahoo.fr
Cc: pgsql-bugs@postgresql.org
Subject: Re: BUG #12830: postgres-9.4 upgrade is missing PGPORT
Date: Sun, 08 Mar 2015 00:58:41 +0200
Message-ID: <1425769121.18873.1.camel@gunduz.org> (raw)
In-Reply-To: <20150305084109.2546.73361@wrigleys.postgresql.org>
References: <20150305084109.2546.73361@wrigleys.postgresql.org>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-bugs>

Hi,

The upgrade script has been broken over the last two years. Maybe it is
the time to take a look at it. I will let you know.

Regards, Devrim

On Thu, 2015-03-05 at 08:41 +0000, pgriboval@yahoo.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@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
> 
> 
> 


-- 
Devrim GÜNDÜZ
Principal Systems Engineer @ EnterpriseDB: http://www.enterprisedb.com
PostgreSQL Danışmanı/Consultant, Red Hat Certified Engineer
Twitter: @DevrimGunduz , @DevrimGunduzTR

Attachments:

  signature.asc (application/pgp-signature, 818B) download

view thread (7+ messages)  latest in thread

Message-ID: <1425769121.18873.1.camel@gunduz.org>
Permalink:  ../1425769121.18873.1.camel@gunduz.org/
Also on:    postgresql.org/message-id/1425769121.18873.1.camel@gunduz.org

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-bugs@postgresql.org
  Cc: devrim@gunduz.org, pgriboval@yahoo.fr
  Subject: Re: BUG #12830: postgres-9.4 upgrade is missing PGPORT
  In-Reply-To: <1425769121.18873.1.camel@gunduz.org>
  References: <20150305084109.2546.73361@wrigleys.postgresql.org> <1425769121.18873.1.camel@gunduz.org>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox