Re: Proposed GUC Variable - Mailing list pgsql-hackers

From Tom Lane
Subject Re: Proposed GUC Variable
Date
Msg-id 8775.1030637664@sss.pgh.pa.us
Whole thread Raw
In response to Re: Proposed GUC Variable  (Robert Treat <xzilla@users.sourceforge.net>)
Responses Re: Proposed GUC Variable
List pgsql-hackers
Robert Treat <xzilla@users.sourceforge.net> writes:
> One of my users is generating a notice message --> NOTICE:  Adding
> missing FROM-clause entry for table "msg202"  It might be helpful to
> dump out the query on notice messages like this, and it looks like a
> simple change as far as elog.c and guc.c are concerned, but would this
> be overkill?

Hm.  Maybe instead of a boolean, what we want is a message level
variable: log original query if it triggers a message >= severity X.

            regards, tom lane

pgsql-hackers by date:

Previous
From: "Thomas F. O'Connell"
Date:
Subject: the optimizer and exists
Next
From: "D'Arcy J.M. Cain"
Date:
Subject: Re: Proposed GUC Variable