Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bIH9m-00066z-By for pgsql-pkg-yum@arkaria.postgresql.org; Wed, 29 Jun 2016 15:12:02 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1bIH9l-0008R7-UA for pgsql-pkg-yum@arkaria.postgresql.org; Wed, 29 Jun 2016 15:12:01 +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 1bIH9l-0008R0-J3 for pgsql-pkg-yum@postgresql.org; Wed, 29 Jun 2016 15:12:01 +0000 Received: from smtp112.iad3a.emailsrvr.com ([173.203.187.112]) by magus.postgresql.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.84_2) (envelope-from ) id 1bIH9i-0004OG-El for pgsql-pkg-yum@postgresql.org; Wed, 29 Jun 2016 15:12:01 +0000 Received: from smtp31.relay.iad3a.emailsrvr.com (localhost.localdomain [127.0.0.1]) by smtp31.relay.iad3a.emailsrvr.com (SMTP Server) with ESMTP id 342873801DD; Wed, 29 Jun 2016 11:11:48 -0400 (EDT) X-Auth-ID: jeff.frost@pgexperts.com Received: by smtp31.relay.iad3a.emailsrvr.com (Authenticated sender: jeff.frost-AT-pgexperts.com) with ESMTPSA id DE8DC3801AB; Wed, 29 Jun 2016 11:11:47 -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 11:11:48 -0400 Content-Type: multipart/alternative; boundary="Apple-Mail=_E995CDD2-BAFF-4CB0-801E-7804ECB877A8" 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 08:11:47 -0700 Cc: "pgsql-pkg-yum@postgresql.org" Message-Id: 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=_E995CDD2-BAFF-4CB0-801E-7804ECB877A8 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=us-ascii >=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 Thanks for the bug report! Will get this fixed up. --Apple-Mail=_E995CDD2-BAFF-4CB0-801E-7804ECB877A8 Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=us-ascii

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.

= --Apple-Mail=_E995CDD2-BAFF-4CB0-801E-7804ECB877A8--