Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1YUNgk-000825-Ch for pgsql-bugs@arkaria.postgresql.org; Sat, 07 Mar 2015 22:59:18 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.80) (envelope-from ) id 1YUNgj-00054U-H3 for pgsql-bugs@arkaria.postgresql.org; Sat, 07 Mar 2015 22:59:17 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:DHE_RSA_AES_256_CBC_SHA256:256) (Exim 4.80) (envelope-from ) id 1YUNgi-00052Z-Fr for pgsql-bugs@postgresql.org; Sat, 07 Mar 2015 22:59:16 +0000 Received: from ns3.gunduz.org ([107.170.88.27] helo=ns1.gunduz.org) by magus.postgresql.org with esmtps (TLS1.2:DHE_RSA_AES_256_CBC_SHA256:256) (Exim 4.80) (envelope-from ) id 1YUNgY-00071K-LZ for pgsql-bugs@postgresql.org; Sat, 07 Mar 2015 22:59:14 +0000 Received: from asus-laptop-03.gunduz.org (unknown [176.41.60.137]) (using TLSv1.2 with cipher AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ns1.gunduz.org (Postfix) with ESMTPSA id CEDFA42ACE; Sat, 7 Mar 2015 22:59:04 +0000 (UTC) Message-ID: <1425769121.18873.1.camel@gunduz.org> Subject: Re: BUG #12830: postgres-9.4 upgrade is missing PGPORT From: Devrim =?ISO-8859-1?Q?G=FCnd=FCz?= To: pgriboval@yahoo.fr Cc: pgsql-bugs@postgresql.org Date: Sun, 08 Mar 2015 00:58:41 +0200 In-Reply-To: <20150305084109.2546.73361@wrigleys.postgresql.org> References: <20150305084109.2546.73361@wrigleys.postgresql.org> Content-Type: multipart/signed; micalg="pgp-sha1"; protocol="application/pgp-signature"; boundary="=-2PZiK4b15xmjiFYaYSBi" X-Mailer: Evolution 3.12.11 (3.12.11-1.fc21) Mime-Version: 1.0 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 --=-2PZiK4b15xmjiFYaYSBi Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable 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: >=20 > 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: =20 >=20 > In /etc/init.d/postgresql-9.4 there is no more PGPORT defined. >=20 > You can read this comment in the script: >=20 > # Version 9.4.0 Devrim Gunduz > # Remove PGPORT variable. >=20 > But bellow this command requires the PGPORT var to be set otherwise the > upgrade script does not work >=20 > NEWPGPORT=3D`sed -n 's/^PGPORT=3D//p' /etc/init.d/postgresql-$PGMAJORVERS= ION` >=20 > workaround is to set back PGPORT=3D5433, run the upgrade script and remov= e the > PGPORT variabla in the script >=20 >=20 >=20 --=20 Devrim G=C3=9CND=C3=9CZ Principal Systems Engineer @ EnterpriseDB: http://www.enterprisedb.com PostgreSQL Dan=C4=B1=C5=9Fman=C4=B1/Consultant, Red Hat Certified Engineer Twitter: @DevrimGunduz , @DevrimGunduzTR --=-2PZiK4b15xmjiFYaYSBi Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part Content-Transfer-Encoding: 7bit -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQIcBAABAgAGBQJU+4KhAAoJENjDPf6Sz2619QgP/30lVq8o+U+WiKJzlaAwRtkN jDaOvDr8PvXL/PIqomiKhScb52/cn0O7uvg+Ms98jj9qeG2jf1jodqSOpKtfwe0+ vvQc6vkEnd5ZPT0W9YMpemzZ3UROLAkVhex/7oBwEl71SBKd9Cqmz4XjCZFtzg+r zn3JZUxHnTnfy0SDrzkVeVGE1cUyMTc+jU++x/ghH3lzKYamaYeXqeyj4aqm96Ah RPTNdtD+yn9NvV8tQoa/bhtCMs3ev2hAyNTDWEWpiFxgeGa64gdn7Xr/KIoUWrge XF6SuE/D2UhOoLDS4y6Yo3js/r1m5OGy8j9Hn20ZjiJCUN5EjYz4XBI71hXqldzK nUDbbKi2iXIOZOuej5FBTVwFNghlsWiYAXX0Tcn3t9qA+3xshaLsj4n7LYKdlrQy Dn2EFvZ9E+lZfBPGOsctdA1V7dUSUd54cfungRdurZPrmLb2Xh/E5TNENzPPP9MC pRKfVvHUsclLMB3rlTHuS0YQ3XVQhYAyKZR03WQDSQXJmgE/62hMrqBUTS5BHOvH /pPfjG1SB9Dix38Ny/e7V9dGVIuBXllbwVtQJfkycjKp4V3FM6fYE7u6Rtc0IouS uhJHrHdTNcrgZ9CunS9KklIrNIXyT289dtP2Vx/mdYjnbw5FF0ybFHbc4JKN58lG Y/ugQbCV0vNOuKiXHscN =KY87 -----END PGP SIGNATURE----- --=-2PZiK4b15xmjiFYaYSBi--