Re: Parsing config files in a directory

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Parsing config files in a directory
Дата
Msg-id 13115.1256664109@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Parsing config files in a directory  (Greg Smith <gsmith@gregsmith.com>)
Ответы Re: Parsing config files in a directory  (Robert Haas <robertmhaas@gmail.com>)
Re: Parsing config files in a directory  ("Joshua D. Drake" <jd@commandprompt.com>)
Re: Parsing config files in a directory  (Dimitri Fontaine <dfontaine@hi-media.com>)
Список pgsql-hackers
Greg Smith <gsmith@gregsmith.com> writes:
> ... One file per GUC is certainly never going to fly though, it's 
> been hard enough getting people to accept going from one file to more than 
> one.

One thing that concerns me a bit about the lack of consensus on that
is what will happen if different config-adjustment tools adopt different
philosophies.  If Dimitri writes a tool that drops settings into per-GUC
files, and you write one that puts them all in persistent.conf, and
somebody tries to use both those tools, no good will come of it.

If we forgot about the config-dir idea and just had one file that was
meant to be hacked by automated tools, the problem would go away.
However I suspect that that proposal won't fly, so we ought to think
about providing some guidance to tools writers about what to do.
Is there any consensus on how multiple config files actually get used
over in the Apache/etc world?
        regards, tom lane


В списке pgsql-hackers по дате отправления:

Предыдущее
От: Andres Freund
Дата:
Сообщение: Re: FOR UPDATE versus WITH --- change 8.4 too?
Следующее
От: Tim Landscheidt
Дата:
Сообщение: Extraneous newlines in logfile from vacuumdb