pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Gaetano Mendola <mendola@bigfoot.com>
To: Tom Lane <tgl@sss.pgh.pa.us>
Subject: Re: [ADMIN] SRPM for 8.0.0 beta?
Date: Wed, 18 Aug 2004 17:30:05 +0200
Message-ID: <412375FD.5020408@bigfoot.com> (raw)
In-Reply-To: <22730.1092841770@sss.pgh.pa.us>
References: <1092514982.19562.15.camel@voyager.localdomain>
	<411EFB9C.1090804@joeconway.com>
	<41210FE2.4020202@joeconway.com>
	<41226B6D.60503@joeconway.com>
	<17326.1092799454@sss.pgh.pa.us>
	<4122CCBE.6040505@joeconway.com>
	<41233B72.1090702@bigfoot.com>
	<22730.1092841770@sss.pgh.pa.us>

Tom Lane wrote:

> Gaetano Mendola <mendola@bigfoot.com> writes:
> 
>>BTW I have bitten recently on the attempt of change the default port.
>>I did it as usual changing it in postgresql.conf but that parameter
>>is overriden by:
>>	PGPORT=5432
>>present on the start up script.
> 
> 
>>There is any reason to still pass this parameter to postmaster ?
> 
> 
> The init script needs to know the port number because it uses it in a
> couple places.  Set the value you want in
> /etc/sysconfig/pgsql/postgresql ...

I know I know, but I'm wondering if this value could be retrieved from
another place instead:

grep -e "port" /var/lib/pgsql/data/postgresql.conf | cut -d '=' -f 2

I know it's horrible.

May be write some words inside postgresql.conf or write some warning in
the logs for sure could help.



Regards
Gaetano Mendola













view thread (20+ messages)  latest in thread

Message-ID: <412375FD.5020408@bigfoot.com>
Permalink:  ../412375FD.5020408@bigfoot.com/
Also on:    postgresql.org/message-id/412375FD.5020408@bigfoot.com

 · 

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 from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-admin@postgresql.org
  Cc: mendola@bigfoot.com, tgl@sss.pgh.pa.us
  Subject: Re: [ADMIN] SRPM for 8.0.0 beta?
  In-Reply-To: <412375FD.5020408@bigfoot.com>
  References: <1092514982.19562.15.camel@voyager.localdomain> <411EFB9C.1090804@joeconway.com> <41210FE2.4020202@joeconway.com> <41226B6D.60503@joeconway.com> <17326.1092799454@sss.pgh.pa.us> <4122CCBE.6040505@joeconway.com> <41233B72.1090702@bigfoot.com> <22730.1092841770@sss.pgh.pa.us> <412375FD.5020408@bigfoot.com>

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

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