Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1YUJsL-0008U8-AQ for pgsql-bugs@arkaria.postgresql.org; Sat, 07 Mar 2015 18:55:01 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.80) (envelope-from ) id 1YUJsK-0002Uo-Lj for pgsql-bugs@arkaria.postgresql.org; Sat, 07 Mar 2015 18:55:00 +0000 Received: from makus.postgresql.org ([2001:4800:1501:1::229]) by malur.postgresql.org with esmtps (TLS1.2:DHE_RSA_AES_256_CBC_SHA256:256) (Exim 4.80) (envelope-from ) id 1YUJcP-000163-3F for pgsql-bugs@postgresql.org; Sat, 07 Mar 2015 18:38:33 +0000 Received: from momjian.us ([72.94.173.45]) by makus.postgresql.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:256) (Exim 4.80) (envelope-from ) id 1YUJcL-0008Hn-KK for pgsql-bugs@postgresql.org; Sat, 07 Mar 2015 18:38:31 +0000 Received: from bruce by momjian.us with local (Exim 4.72) (envelope-from ) id 1YUJcK-0007pR-6C; Sat, 07 Mar 2015 13:38:28 -0500 Date: Sat, 7 Mar 2015 13:38:28 -0500 From: Bruce Momjian To: pgriboval@yahoo.fr Cc: pgsql-bugs@postgresql.org Subject: Re: BUG #12830: postgres-9.4 upgrade is missing PGPORT Message-ID: <20150307183828.GL12967@momjian.us> References: <20150305084109.2546.73361@wrigleys.postgresql.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20150305084109.2546.73361@wrigleys.postgresql.org> User-Agent: Mutt/1.5.20 (2009-06-14) X-Pg-Spam-Score: -1.9 (-) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-bugs Precedence: bulk Sender: pgsql-bugs-owner@postgresql.org On Thu, Mar 5, 2015 at 08:41:09AM +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 Uh, the community does not maintain these scripts, which I assume are for RPMs. You need to contact the RPM authors. -- Bruce Momjian http://momjian.us EnterpriseDB http://enterprisedb.com + Everyone has their own god. + -- Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-bugs