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:08:06 +0530
Message-ID: <CAEHY2386G6GFcCM-PUmqmFRfSugTX0uv-b9oZTK0DnC-7w55=g@mail.gmail.com> (raw)
In-Reply-To: <[email protected]>
References: <CAEHY239dpB3-2_8oE1eJrpB6BaSgROm9dx1oMwdhHhihvQigDQ@mail.gmail.com>
	<[email protected]>
List-Unsubscribe: <mailto:[email protected]?body=unsub%20pgsql-pkg-yum>

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: <CAEHY2386G6GFcCM-PUmqmFRfSugTX0uv-b9oZTK0DnC-7w55=g@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