Tom Lane wrote:
> Andrew Dunstan <[EMAIL PROTECTED]> writes:
> > If people are happy with suppressing statement logging on a parse error, 
> > OK.
> 
> I think that's a really, really awful idea.  Not infrequently, the
> postmaster log is the easiest way of debugging applications that are
> sending bogus SQL.  If you fail to log the bogus SQL then you've just
> cut debuggers off at the knees.
> 
> I haven't read the earlier part of the thread yet so I don't know just
> what problem you want to solve, but please not this solution.

The issue is allowing only logging of DDL statements, or DDL and data
modification statements, as listed on the TODO list.  If they ask for
all statements, certainly we should log all statements.

-- 
  Bruce Momjian                        |  http://candle.pha.pa.us
  [EMAIL PROTECTED]               |  (610) 359-1001
  +  If your life is a hard drive,     |  13 Roberts Road
  +  Christ can be your backup.        |  Newtown Square, Pennsylvania 19073

---------------------------(end of broadcast)---------------------------
TIP 2: you can get off all lists at once with the unregister command
    (send "unregister YourEmailAddressHere" to [EMAIL PROTECTED])

Reply via email to