Re: CentOS initd Script

From: "Albe Laurenz" <laurenz(dot)albe(at)wien(dot)gv(dot)at>
To: "Kenaniah Cerny *EXTERN*" <kenaniah(at)gmail(dot)com>, <pgsql-general(at)postgresql(dot)org>
Subject: Re: CentOS initd Script
Date: 2012-09-12 08:58:00
Message-ID: D960CB61B694CF459DCFB4B0128514C2086257DE@exadv11.host.magwien.gv.at
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Devrim GÜNDÜZ 2012-09-12 09:09:51 Re: CentOS initd Script
Previous Message Sim Zacks 2012-09-12 08:55:17 Re: force defaults