Merging postgresql.conf and postgresql.auto.conf

Поиск
Список
Период
Сортировка
От Sawada Masahiko
Тема Merging postgresql.conf and postgresql.auto.conf
Дата
Msg-id CAD21AoDkds8Oqbr199wwrCp7fiDvOw6bbb+CGdwQHUF+gX_bVg@mail.gmail.com
обсуждение исходный текст
Ответы Re: Merging postgresql.conf and postgresql.auto.conf  (Tom Lane <tgl@sss.pgh.pa.us>)
Re: Merging postgresql.conf and postgresql.auto.conf  (Amit Kapila <amit.kapila16@gmail.com>)
Список pgsql-hackers
Hi all,

The postgresql.auto.conf is loaded after loading of postgresql.conf
whenever configuration file is loaded or reloaded.
This means that parameter in postgresql.auto.conf is quite high
priority, so the parameter in postgresql.conf does not work at all
even if user set it manually.

If user want to change stopped postgresql server then user need to
merge two configuration file(postgresql.conf and postgresql.auto.conf)
while maintaining the consistency manually.

From an operational perspective having a written config with duplicate
entries is not good thing.
I think we need to merge two configuration file into one (or more than
one, if it uses like 'include' word)

The one solution is to add merging tool/commnand which merges two
configuration file while maintaining the consistency.
This topic have been already discussed?

Regards,

-------
Sawada Masahiko



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

Предыдущее
От: Heikki Linnakangas
Дата:
Сообщение: Re: [PATCH] explain sortorder
Следующее
От: Tom Lane
Дата:
Сообщение: Re: Merging postgresql.conf and postgresql.auto.conf