public inbox for [email protected]  
help / color / mirror / Atom feed
From: Hima Mahi <[email protected]>
To: Jeff Frost <[email protected]>
Cc: [email protected]
Subject: Re: Issue with postgresql-9.4 init.d script
Date: Thu, 20 Aug 2015 20:31:16 +0530
Message-ID: <CAEHY238y_qCHJwprfh+SHz4fG0GnH3K_=j6uxacLoYEio+tQEA@mail.gmail.com> (raw)
In-Reply-To: <CAEHY2386G6GFcCM-PUmqmFRfSugTX0uv-b9oZTK0DnC-7w55=g@mail.gmail.com>
References: <CAEHY239dpB3-2_8oE1eJrpB6BaSgROm9dx1oMwdhHhihvQigDQ@mail.gmail.com>
	<[email protected]>
	<CAEHY2386G6GFcCM-PUmqmFRfSugTX0uv-b9oZTK0DnC-7w55=g@mail.gmail.com>
List-Unsubscribe: <mailto:[email protected]?body=unsub%20pgsql-pkg-yum>

Hi,

Please avoid my last mail. The port was commented in postgresql.conf,
that's why it was not picking from there. On uncommenting it , its
overriding PGPORT and working fine.

On Thu, Aug 20, 2015 at 8:08 PM, Hima Mahi <[email protected]> wrote:

> The issue is if some other application has set PGPORT in environment
> variable, it reads that. It doesn't check the port mentioned in
> postgresql.conf.
> For example in my case, We have PostgresPlus advanced server setup on some
> port and this variable is set. Now , postgresql 9.4 is reading that
> variable and not the port mentioned in postgresql.conf. Thus , server start
> fails.
>
> On Thu, Aug 20, 2015 at 8:04 PM, Jeff Frost <[email protected]> wrote:
>
>>
>> On Aug 20, 2015, at 4:06 AM, Hima Mahi <[email protected]> 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.
>>
>>
>


view thread (5+ messages)  latest in thread

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: [email protected]
  Cc: [email protected], [email protected]
  Subject: Re: Issue with postgresql-9.4 init.d script
  In-Reply-To: <CAEHY238y_qCHJwprfh+SHz4fG0GnH3K_=j6uxacLoYEio+tQEA@mail.gmail.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox