Re: Logging configuration changes

Поиск
Список
Период
Сортировка
От Peter Eisentraut
Тема Re: Logging configuration changes
Дата
Msg-id 1251495487.18151.12.camel@vanquo.pezone.net
обсуждение исходный текст
Ответ на Re: Logging configuration changes  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: Logging configuration changes [REVIEW]  (Abhijit Menon-Sen <ams@toroid.org>)
Список pgsql-hackers
On ons, 2009-08-26 at 22:13 -0400, Tom Lane wrote:
> Seems to me it would be too chatty to be useful, at least for people who
> set more than one or two things in postgresql.conf.  Would it be that
> hard to track which values actually changed?  Without having looked at
> the code, I'm thinking that much of the infrastructure must be there
> already now that we have support for undoing commented-out settings.

Found an easy solution; see attached patch.

On a related note, I suggest reverting or revising this logging change:
http://git.postgresql.org/gitweb?p=postgresql.git;a=commitdiff;h=293c816e4aad8e760bcb4eaba0aa16da0ccd2d04
Putting the reason for an error or warning into the detail part is not
acceptable style, IMO.

Вложения

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

Предыдущее
От: Peter Eisentraut
Дата:
Сообщение: Re: Add YAML option to explain
Следующее
От: "Kevin Grittner"
Дата:
Сообщение: Re: Linux LSB init script