X-Original-To: pgsql-hackers-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id 9CF265E46DE for ; Wed, 18 Aug 2004 12:42:40 -0300 (ADT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 23899-10 for ; Wed, 18 Aug 2004 15:42:45 +0000 (GMT) Received: from news.hub.org (news.hub.org [200.46.204.72]) by svr1.postgresql.org (Postfix) with ESMTP id 707725E46C3 for ; Wed, 18 Aug 2004 12:42:34 -0300 (ADT) Received: from news.hub.org (news.hub.org [200.46.204.72]) by news.hub.org (8.12.9/8.12.9) with ESMTP id i7IFgfiI028090 for ; Wed, 18 Aug 2004 15:42:41 GMT (envelope-from news@news.hub.org) Received: (from news@localhost) by news.hub.org (8.12.9/8.12.9/Submit) id i7IFUAEP022923 for pgsql-hackers@postgresql.org; Wed, 18 Aug 2004 15:30:10 GMT From: Gaetano Mendola X-Newsgroups: comp.databases.postgresql.hackers Subject: Re: [ADMIN] SRPM for 8.0.0 beta? Date: Wed, 18 Aug 2004 17:30:05 +0200 Organization: PYRENET Midi-pyrenees Provider Lines: 42 Message-ID: <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> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Complaints-To: abuse@pyrenet.fr To: Tom Lane User-Agent: Mozilla Thunderbird 0.7.1 (Windows/20040626) X-Accept-Language: en-us, en In-Reply-To: <22730.1092841770@sss.pgh.pa.us> X-Enigmail-Version: 0.84.2.0 X-Enigmail-Supports: pgp-inline, pgp-mime To: pgsql-hackers@postgresql.org X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.0 tagged_above=0.0 required=5.0 tests= X-Spam-Level: X-Archive-Number: 200408/1042 X-Sequence-Number: 58011 Tom Lane wrote: > Gaetano Mendola 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