Re: Explicit configuration file - Mailing list pgsql-hackers

From Doug McNaught
Subject Re: Explicit configuration file
Date
Msg-id m3heqwwspr.fsf@belphigor.mcnaught.org
Whole thread Raw
In response to Re: Explicit configuration file  (Bruce Momjian <pgman@candle.pha.pa.us>)
List pgsql-hackers
Bruce Momjian <pgman@candle.pha.pa.us> writes:

> I wonder if we should go one step further.  Should we be specifying the
> config file on the command line _rather_ than the data directory. We
> could then specify the data directory location in the config file.  That
> seems like the direction we should be headed in, though I am not sure it
> is worth the added headache of the switch.

That's what mlw is advocating--all the startup script has to know is
the conf file location.  I for one think it's totally worth doing, and
it won't break any existing setups--if -C (or whatever) isn't
specified, postmaster expects PGDATA on the command line and gets the
donfig file from there; if it is, PGDATA comes from the config file.

-Doug
-- 
Let us cross over the river, and rest under the shade of the trees.  --T. J. Jackson, 1863


pgsql-hackers by date:

Previous
From: "Zeugswetter Andreas SB SD"
Date:
Subject: Re: Explicit configuration file
Next
From: "Rod Taylor"
Date:
Subject: Re: pg_dump: Sorted output, referential integrity