Re: CentOS initd Script - Mailing list pgsql-general

From Albe Laurenz
Subject Re: CentOS initd Script
Date
Msg-id D960CB61B694CF459DCFB4B0128514C2086257DE@exadv11.host.magwien.gv.at
Whole thread Raw
In response to CentOS initd Script  (Kenaniah Cerny <kenaniah@gmail.com>)
Responses Re: CentOS initd Script
List pgsql-general
Kenaniah Cerny wrote:
> I would first like to thank everyone involved for all of the hard work that goes into the postgres and
> the RPMs.I have a small request:
> 
> In the service script that gets installed to /etc/rc.d/init.d/, there is a hard-coded value for
> PGPORT. Would it be possible to have this variable and the corresponding -p flag set when calling
> postgres removed?
> 
> Explicitly specifying the port flag causes the port setting of postgresql.conf to be ignored. When
> postgresql.conf does not have the port explicitly defined, postgres falls back on the value of PGPORT,
> and ultimately 5432 when PGPORT is not present in the environment.
> 
> My main use case for this request is concurrently running multiple versions of postgresql on non-
> standard ports on the same box.

You should ask the people who roll the RPMs for CentOS,
they are the ones who created that script.

Yours,
Laurenz Albe

pgsql-general by date:

Previous
From: Sim Zacks
Date:
Subject: Re: force defaults
Next
From: Devrim GÜNDÜZ
Date:
Subject: Re: CentOS initd Script