Re: I am done - Mailing list pgsql-hackers

From Bruce Momjian
Subject Re: I am done
Date
Msg-id 200209051551.g85FpSY12309@candle.pha.pa.us
Whole thread Raw
In response to Re: I am done  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: I am done
List pgsql-hackers
Tom Lane wrote:
> Bruce Momjian <pgman@candle.pha.pa.us> writes:
> > But the client side doesn't make any sense to support FATAL.  Am I
> > missing something?
> 
> Hm.  I suppose a client setting above ERROR might break some application
> programs that expect either ERROR or a command-complete response ...
> but do we need to go out of our way to prohibit people from choosing
> settings that break their clients?  If so, I've got a long list of
> things we'd better worry about ...

client_min_messages currently shows:
 #client_min_messages = notice   # Values, in order of decreasing detail:                                 #   debug5,
debug4,debug3, debug2, debug1,                                 #   log, info, notice, warning, error
 

so it is only fatal and panic that are not allowed for clients. If you
want to allow them, that is fine with me.  It would make it more
consistent, but of course I don't think a fatal or panic ever makes it
to the client side.

Your point that there should be a way of eliminating even ERROR coming
to a client seems valid to me.  Let's make the change.

--  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: Tom Lane
Date:
Subject: Re: I am done
Next
From: Manuel Sugawara
Date:
Subject: Re: beta1 packaged