Joe Conway wrote:
> Tom Lane wrote:
>
>> Joe Conway <mail@joeconway.com> writes:
>>
>>> Hopefully the third try is a charm ;-)
>>
>>
>>> Version 3 is now available: fixes the init script. Previously
>>> /etc/init.d/postgresql worked the first time used (i.e. would initdb
>>> and start postgres) but not the second and subsequent times.
>>
>>
>> [ blink... ] Was this your own error, or are you saying there is such a
>> bug in the current RPM distributions?
>>
>
> My own. I missed changing this line:
> if [ `cat $PGDATA/PG_VERSION` != '7.4' ]
> to this:
> if [ `cat $PGDATA/PG_VERSION` != '8.0' ]
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 ?
Regards
Gaetano Mendola