Re: [ADMIN] SRPM for 8.0.0 beta?

From: Gaetano Mendola <mendola(at)bigfoot(dot)com>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Subject: Re: [ADMIN] SRPM for 8.0.0 beta?
Date: 2004-08-18 15:30:05
Message-ID: 412375FD.5020408@bigfoot.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin pgsql-general pgsql-hackers

Tom Lane wrote:

> Gaetano Mendola <mendola(at)bigfoot(dot)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

In response to

Browse pgsql-admin by date

  From Date Subject
Next Message Peter Eisentraut 2004-08-18 15:55:21 Re: [HACKERS] SRPM for 8.0.0 beta?
Previous Message Mitch Pirtle 2004-08-18 15:25:54 Re: tracking db changes / comparing databases

Browse pgsql-general by date

  From Date Subject
Next Message Marcel Boscher 2004-08-18 15:42:08 Installing FullTextSearchTool tsearch2
Previous Message Bob Parkinson 2004-08-18 15:26:48 Re: scripting & psql issues

Browse pgsql-hackers by date

  From Date Subject
Next Message Bruce Momjian 2004-08-18 15:41:47 Re: 7.4.3 & 8.0.0beta1 + Solaris 9: default pg_hba.conf breaks
Previous Message Tom Lane 2004-08-18 15:29:30 Re: 7.4.3 & 8.0.0beta1 + Solaris 9: default pg_hba.conf breaks