Re: pg_ctl bug or feature? - Mailing list pgsql-general

From Tom Lane
Subject Re: pg_ctl bug or feature?
Date
Msg-id 18497.1115412371@sss.pgh.pa.us
Whole thread Raw
In response to pg_ctl bug or feature?  ("Joshua D. Drake" <jd@commandprompt.com>)
List pgsql-general
"Joshua D. Drake" <jd@commandprompt.com> writes:
> data_directory = '/usr/local/pgsql/data2'               # use data in

> -bash-3.00$ bin/pg_ctl -D /usr/local/pgsql/etc stop

Fixing this would seem to require teaching pg_ctl how to parse the
postgresql.conf file, which might be worth doing but it's a bit of
a large pain in the neck compared to the benefit ...

(For the record, I never did like the file-location-configuration
patch, and one of the reasons is the havoc it plays with the apparently
simple meaning of the -D switch.)

            regards, tom lane

pgsql-general by date:

Previous
From: "Joshua D. Drake"
Date:
Subject: Re: pg_ctl bug or feature?
Next
From: Michael Meskes
Date:
Subject: Re: ECPG - Timestamp to ascii Conversion PG version 7.4