Re: Fix for log_min_error_messages - Mailing list pgsql-hackers

From Bruce Momjian
Subject Re: Fix for log_min_error_messages
Date
Msg-id 200301282159.h0SLxS601012@candle.pha.pa.us
Whole thread Raw
In response to Re: Fix for log_min_error_messages  (Peter Eisentraut <peter_e@gmx.net>)
Responses 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>)
List 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 by date:

Previous
From: Peter Eisentraut
Date:
Subject: Re: Fix for log_min_error_messages
Next
From: Bruce Momjian
Date:
Subject: Re: Request for qualified column names