Re: selective statement logging - Mailing list pgsql-hackers

From Greg Stark
Subject Re: selective statement logging
Date
Msg-id 87fzcg6mrh.fsf@stark.xeocode.com
Whole thread Raw
In response to Re: selective statement logging  (Bruce Momjian <pgman@candle.pha.pa.us>)
List pgsql-hackers
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



pgsql-hackers by date:

Previous
From: Bruce Momjian
Date:
Subject: Timezone support
Next
From: "Ramanujam H S Iyengar"
Date:
Subject: Re: How to get RelationName ??