Re: selective statement logging

From: Greg Stark <gsstark(at)mit(dot)edu>
To: pgsql-hackers(at)postgresql(dot)org
Subject: Re: selective statement logging
Date: 2004-03-11 04:17:06
Message-ID: 87fzcg6mrh.fsf@stark.xeocode.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers


Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)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

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Ramanujam H S Iyengar 2004-03-11 05:19:10 Re: How to get RelationName ??
Previous Message Bruce Momjian 2004-03-11 04:06:59 Timezone support