Bruce Momjian <pgman@candle.pha.pa.us> writes:
> 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.
just make syntax errors one of the types. So you could log "ddl", "dml",
"syntax errors", or "all" statements.
In fact for production use syntax errors seem like the most likely thing to
want to log.
--
greg