Re: postgresql.auto.conf and reload

Поиск
Список
Период
Сортировка
От Christoph Berg
Тема Re: postgresql.auto.conf and reload
Дата
Msg-id 20140706082756.GB30214@msg.df7cb.de
обсуждение исходный текст
Ответ на Re: postgresql.auto.conf and reload  (Amit Kapila <amit.kapila16@gmail.com>)
Ответы Re: postgresql.auto.conf and reload  (Amit Kapila <amit.kapila16@gmail.com>)
Список pgsql-hackers
Re: Amit Kapila 2014-07-06 <CAA4eK1K=2WCD5ur8c-34NOw+XKg57Q4k0SajwSQXcwciD-=+0w@mail.gmail.com>
> Another could be that during initdb all the uncommented settings be
> written to postgresql.auto.conf file rather than to postgresql.conf.
> I think we can do this by changing code in initdb.c->setup_config().
> This will ensure that unless user is changing settings in a mixed way
> (some by Alter System and some manually by editing postgresql.conf),
> there will no such problem.

That will make editing postgresql.conf totally useless, because users
will always need to check if their new value isn't overridden by
something in auto.conf. This will affect *all* users, as everyone
needs to bump shared_buffers, which is set by initdb. We'd get 10^X
complaints from admins who got confused where their config actually
is.

Christoph
-- 
cb@df7cb.de | http://www.df7cb.de/



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

Предыдущее
От: Craig Ringer
Дата:
Сообщение: [PATCH] Improve bytea error messages
Следующее
От: Andres Freund
Дата:
Сообщение: Re: 9.4 logical replication - walsender keepalive replies