Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bIIC9-0001go-Fr for pgsql-pkg-yum@arkaria.postgresql.org; Wed, 29 Jun 2016 16:18:33 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1bIIC9-0003Uc-17 for pgsql-pkg-yum@arkaria.postgresql.org; Wed, 29 Jun 2016 16:18:33 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1bIIC5-0003RB-JR for pgsql-pkg-yum@postgresql.org; Wed, 29 Jun 2016 16:18:29 +0000 Received: from smtp96.iad3a.emailsrvr.com ([173.203.187.96]) by magus.postgresql.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.84_2) (envelope-from ) id 1bIIBy-0005ln-70 for pgsql-pkg-yum@postgresql.org; Wed, 29 Jun 2016 16:18:29 +0000 Received: from smtp29.relay.iad3a.emailsrvr.com (localhost.localdomain [127.0.0.1]) by smtp29.relay.iad3a.emailsrvr.com (SMTP Server) with ESMTP id 3E5253804C5; Wed, 29 Jun 2016 12:18:14 -0400 (EDT) X-Auth-ID: jeff.frost@pgexperts.com Received: by smtp29.relay.iad3a.emailsrvr.com (Authenticated sender: jeff.frost-AT-pgexperts.com) with ESMTPSA id D304438044F; Wed, 29 Jun 2016 12:18:13 -0400 (EDT) X-Sender-Id: jeff.frost@pgexperts.com Received: from [192.168.135.138] (host2.radio.netlojix.net [207.71.230.10]) (using TLSv1 with cipher DHE-RSA-AES256-SHA) by 0.0.0.0:587 (trex/5.5.4); Wed, 29 Jun 2016 12:18:14 -0400 Content-Type: multipart/alternative; boundary="Apple-Mail=_FD3F1D0E-E87C-4F45-9208-0A47D0FA60AE" Mime-Version: 1.0 (Mac OS X Mail 9.3 \(3124\)) Subject: Re: 9.6 Beta2 /etc/init.d script setting PGDATA to 9.5 location From: Jeff Frost In-Reply-To: Date: Wed, 29 Jun 2016 09:18:12 -0700 Cc: "pgsql-pkg-yum@postgresql.org" Message-Id: <4823CEE5-A8ED-4EF3-8091-559DB516080E@pgexperts.com> References: To: "Nicholson, Brad (Toronto, ON, CA)" X-Mailer: Apple Mail (2.3124) X-Pg-Spam-Score: -1.9 (-) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-pkg-yum Precedence: bulk Sender: pgsql-pkg-yum-owner@postgresql.org --Apple-Mail=_FD3F1D0E-E87C-4F45-9208-0A47D0FA60AE Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=us-ascii > On Jun 29, 2016, at 8:11 AM, Jeff Frost wrote: >=20 >>=20 >> On Jun 29, 2016, at 7:56 AM, Nicholson, Brad (Toronto, ON, CA) = > wrote: >>=20 >> Hi, >> =20 >> I installed 9.6 beta2 with the following repo - = pgdg-centos96-9.6-1.noarch.rpm >> =20 >> The init script is still referencing 9.5 in couple of places, = including PGDATA (see below). I bumped into this when trying to do an = initdb with the script on a system with 9.5 on it (which obviously = failed) >> =20 >> grep 9.5 /etc/init.d/postgresql-9.6 >> # PGVERSION is the full package version, e.g., 9.5.0 >> # PGMAJORVERSION is major version, e.g., 9.5 (this should match = PG_VERSION) >> PGDATA=3D/var/lib/pgsql/9.5/data >> PGLOG=3D/var/lib/pgsql/9.5/pgstartup.log >=20 > Thanks for the bug report! Will get this fixed up. updated and synced the new packages, let us know if that fixes your = issue. --Apple-Mail=_FD3F1D0E-E87C-4F45-9208-0A47D0FA60AE Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=us-ascii
On Jun 29, 2016, at 8:11 AM, Jeff Frost <jeff@pgexperts.com> = wrote:


On Jun 29, 2016, at 7:56 AM, = Nicholson, Brad (Toronto, ON, CA) <bnicholson@hpe.com> = wrote:

Hi,
 
I = installed 9.6 beta2 with the following repo -  pgdg-centos96-9.6-1.noarch.rpm
 
The init = script is still referencing 9.5 in couple of places, including PGDATA = (see below).  I bumped into this when trying to do an initdb with = the script on a system with 9.5 on it (which obviously failed)
 
grep 9.5 = /etc/init.d/postgresql-9.6
# PGVERSION is the full package version, e.g., = 9.5.0
# = PGMAJORVERSION is major version, e.g., 9.5 (this should match = PG_VERSION)
PGDATA=3D/var/lib/pgsql/9.5/data
PGLOG=3D/var/lib/pgsql/9.5/pgstartup.log

Thanks for the bug report! = Will get this fixed up.

updated and synced the new packages, let us know if that = fixes your issue.

= --Apple-Mail=_FD3F1D0E-E87C-4F45-9208-0A47D0FA60AE--