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 ...
regards, tom lane