Re: Statements with syntax errors are not logged - Mailing list pgsql-hackers

From Jim C. Nasby
Subject Re: Statements with syntax errors are not logged
Date
Msg-id 20061020035227.GR26892@nasby.net
Whole thread Raw
In response to Re: Statements with syntax errors are not logged  (Tom Lane <tgl@sss.pgh.pa.us>)
List 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@nasby.net
EnterpriseDB      http://enterprisedb.com      512.569.9461 (cell)


pgsql-hackers by date:

Previous
From: Alvaro Herrera
Date:
Subject: Re: New CRC algorithm: Slicing by 8
Next
From: "Jim C. Nasby"
Date:
Subject: Re: adminpack and pg_catalog