Re: Fix for log_min_error_messages

Поиск
Список
Период
Сортировка
От Bruce Momjian
Тема Re: Fix for log_min_error_messages
Дата
Msg-id 200301282159.h0SLxS601012@candle.pha.pa.us
обсуждение исходный текст
Ответ на Re: Fix for log_min_error_messages  (Peter Eisentraut <peter_e@gmx.net>)
Ответы Re: Fix for log_min_error_messages  (Gavin Sherry <swm@linuxworld.com.au>)
Re: Fix for log_min_error_messages  (Peter Eisentraut <peter_e@gmx.net>)
Список pgsql-hackers
Peter Eisentraut wrote:
> Bruce Momjian writes:
> 
> > Due to my error, log_min_error messages went into 7.3.X with the wrong
> > default, and the wrong listed options.
> >
> > This fixes the bug in CVS current and 7.3.X.  Patch attached.
> 
> Why does "panic" mean "off"?  If you set it to "panic" don't you still get
> the "panic" messages?  I'm sure the implementation makes sense, but the
> way it's documented seems confusing.

Yep, it is really weird.  Gavin didn't want to have separate routines to
validate the various flags, so all the "level" messages can take all the
possible values, and there is no 'off' so "panic" seems the best.
only meaningful ones.

I now realize panic isn't really off, but I don't expect panic to happen
too often.  :-)

--  Bruce Momjian                        |  http://candle.pha.pa.us pgman@candle.pha.pa.us               |  (610)
359-1001+  If your life is a hard drive,     |  13 Roberts Road +  Christ can be your backup.        |  Newtown Square,
Pennsylvania19073
 


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

Предыдущее
От: Peter Eisentraut
Дата:
Сообщение: Re: Fix for log_min_error_messages
Следующее
От: Bruce Momjian
Дата:
Сообщение: Re: Request for qualified column names