Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1ZSQvW-0004gy-16 for pgsql-pkg-yum@arkaria.postgresql.org; Thu, 20 Aug 2015 14:34:46 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84) (envelope-from ) id 1ZSQvV-0006tF-Ea for pgsql-pkg-yum@arkaria.postgresql.org; Thu, 20 Aug 2015 14:34:45 +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) (envelope-from ) id 1ZSQvV-0006t8-3Z for pgsql-pkg-yum@postgresql.org; Thu, 20 Aug 2015 14:34:45 +0000 Received: from smtp80.iad3a.emailsrvr.com ([173.203.187.80]) by magus.postgresql.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.84) (envelope-from ) id 1ZSQvR-0004ru-6P for pgsql-pkg-yum@postgresql.org; Thu, 20 Aug 2015 14:34:44 +0000 Received: from smtp3.relay.iad3a.emailsrvr.com (localhost.localdomain [127.0.0.1]) by smtp3.relay.iad3a.emailsrvr.com (SMTP Server) with ESMTP id D3B1D300870; Thu, 20 Aug 2015 10:34:38 -0400 (EDT) Received: by smtp3.relay.iad3a.emailsrvr.com (Authenticated sender: jeff.frost-AT-pgexperts.com) with ESMTPSA id 821413007E2; Thu, 20 Aug 2015 10:34:38 -0400 (EDT) X-Sender-Id: jeff.frost@pgexperts.com Received: from [192.168.1.6] (ip68-6-118-76.sb.sd.cox.net [68.6.118.76]) (using TLSv1 with cipher DHE-RSA-AES256-SHA) by 0.0.0.0:587 (trex/5.4.2); Thu, 20 Aug 2015 14:34:38 GMT Content-Type: multipart/alternative; boundary="Apple-Mail=_ED0BAB02-A7BA-49D5-B825-7CFA4946C566" Mime-Version: 1.0 (Mac OS X Mail 8.2 \(2102\)) Subject: Re: Issue with postgresql-9.4 init.d script From: Jeff Frost In-Reply-To: Date: Thu, 20 Aug 2015 07:34:37 -0700 Cc: pgsql-pkg-yum@postgresql.org Message-Id: <38DF2A7A-4E10-40D7-9194-962C167D798C@pgexperts.com> References: To: Hima Mahi X-Mailer: Apple Mail (2.2102) 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=_ED0BAB02-A7BA-49D5-B825-7CFA4946C566 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=us-ascii >=20 > On Aug 20, 2015, at 4:06 AM, Hima Mahi wrote: >=20 > Earlier in 9.2 version, init.d script was exporting and using PGPORT = for db server start. In 9.4 that option has been removed. It creates = issue in case if some other PGPORT variable is set to some value. Then = it uses thats value and fails to start. I think our opinion with that change was that people should be setting = the port in the postgresql.conf file. --Apple-Mail=_ED0BAB02-A7BA-49D5-B825-7CFA4946C566 Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=us-ascii

On Aug 20, 2015, at 4:06 AM, Hima Mahi <himamahi09@gmail.com> wrote:

Earlier = in 9.2 version, init.d script was exporting and using PGPORT for db = server start. In 9.4 that option has been removed. It creates issue in = case if some other PGPORT variable is set to some value. Then it uses = thats value and fails to start.

I think our opinion with that change was that people = should be setting the port in the postgresql.conf file.
= --Apple-Mail=_ED0BAB02-A7BA-49D5-B825-7CFA4946C566--