Re: Explicit configuration file

Поиск
Список
Период
Сортировка
От Doug McNaught
Тема Re: Explicit configuration file
Дата
Msg-id m3heqwwspr.fsf@belphigor.mcnaught.org
обсуждение исходный текст
Ответ на Re: Explicit configuration file  (Bruce Momjian <pgman@candle.pha.pa.us>)
Список 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 по дате отправления:

Предыдущее
От: "Zeugswetter Andreas SB SD"
Дата:
Сообщение: Re: Explicit configuration file
Следующее
От: "Rod Taylor"
Дата:
Сообщение: Re: pg_dump: Sorted output, referential integrity