BUG #1093: wrong handling of additional parameters in init script - Mailing list pgsql-bugs

From PostgreSQL Bugs List
Subject BUG #1093: wrong handling of additional parameters in init script
Date
Msg-id 20040304163340.19527CF4D30@www.postgresql.com
Whole thread Raw
Responses Re: BUG #1093: wrong handling of additional parameters in init
Re: BUG #1093: wrong handling of additional parameters in init script
List pgsql-bugs
The following bug has been logged online:

Bug reference:      1093
Logged by:          Konstantin Pelepelin

Email address:      cat@dtf.ru

PostgreSQL version: 7.3.4

Operating system:   Linux

Description:        wrong handling of additional parameters in init script

Details:

I use RPMs for linux, which contain file
/etc/rc.d/init.d/postgresql

Version for PostgreSQL 7.3.x contains some logic based on the name of script
NAME=`basename $0`
I assume, it is for support of multiple postmasters using additional files
/etc/sysconfig/pgsql/${NAME}

But this variable is dependable of whether this script was called by hand
from its main location as postgresql (or using RedHat's 'service postgresql
start') or from /etc/rc.d/rc (through symlink as S85postgresql)

pgsql-bugs by date:

Previous
From: Tom Lane
Date:
Subject: Re: BUG #1092: Memory Fault in PQsetdbLogin
Next
From: Bruce Momjian
Date:
Subject: Re: BUG #1093: wrong handling of additional parameters in init