Re: Issue with postgresql-9.4 init.d script - Mailing list pgsql-pkg-yum

From Devrim GÜNDÜZ
Subject Re: Issue with postgresql-9.4 init.d script
Date
Msg-id 1440583907.14665.3.camel@gunduz.org
Whole thread Raw
In response to Re: Issue with postgresql-9.4 init.d script  (Hima Mahi <himamahi09@gmail.com>)
List pgsql-pkg-yum
Hi,

On Thu, 2015-08-20 at 20:08 +0530, Hima Mahi 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.

That is EDB's preference over packaging. We removed that intentionally,
because people had to change in two places at some point.

So just change the port in postgresql.conf -- that is all.

Regards,

--
Devrim GÜNDÜZ
Principal Systems Engineer @ EnterpriseDB: http://www.enterprisedb.com
PostgreSQL Danışmanı/Consultant, Red Hat Certified Engineer
Twitter: @DevrimGunduz , @DevrimGunduzTR





pgsql-pkg-yum by date:

Previous
From: Devrim GÜNDÜZ
Date:
Subject: Re: Rpm PostgreSQL 9.5 for rhel-5, rhel-6?
Next
From: Devrim GÜNDÜZ
Date:
Subject: Re: Fedora 22