Re: Statements with syntax errors are not logged

From: "Jim C(dot) Nasby" <jim(at)nasby(dot)net>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: Peter Eisentraut <peter_e(at)gmx(dot)net>, pgsql-hackers(at)postgresql(dot)org
Subject: Re: Statements with syntax errors are not logged
Date: 2006-10-20 03:52:27
Message-ID: 20061020035227.GR26892@nasby.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Thu, Oct 19, 2006 at 06:32:08PM -0400, Tom Lane wrote:
> So I'm inclined to leave the behavior as-is. The documentation for
> log_statement already says
>
> Note: Statements that generate syntax errors are not logged. Set
> log_min_error_statement to error to log such statements.
>
> We could improve the wording here, perhaps, but ultimately this is a
> documentation issue.

It'd be good to put a note to that effect in postgresql.conf as well.
--
Jim Nasby jim(at)nasby(dot)net
EnterpriseDB http://enterprisedb.com 512.569.9461 (cell)

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Jim C. Nasby 2006-10-20 04:44:11 Re: adminpack and pg_catalog
Previous Message Alvaro Herrera 2006-10-20 02:56:39 Re: New CRC algorithm: Slicing by 8