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