Re: pg_ctl bug or feature?

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: "Joshua D(dot) Drake" <jd(at)commandprompt(dot)com>
Cc: "Psql_General (E-mail)" <pgsql-general(at)postgresql(dot)org>
Subject: Re: pg_ctl bug or feature?
Date: 2005-05-06 20:46:11
Message-ID: 18497.1115412371@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

"Joshua D. Drake" <jd(at)commandprompt(dot)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

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Michael Meskes 2005-05-06 20:49:49 Re: ECPG - Timestamp to ascii Conversion PG version 7.4
Previous Message Joshua D. Drake 2005-05-06 20:36:10 Re: pg_ctl bug or feature?