Re: Finding context for error log - Mailing list pgsql-sql

From Tom Lane
Subject Re: Finding context for error log
Date
Msg-id 25798.1159282600@sss.pgh.pa.us
Whole thread Raw
In response to Finding context for error log  (Kyle Bateman <kyle@actarg.com>)
Responses Re: Finding context for error log
List pgsql-sql
Kyle Bateman <kyle@actarg.com> writes:
> Is there an easy way to get postgres to 
> spit out the SQL statement it was parsing when it generated the error?

"log_min_error_statement = error" is what you're looking for.
        regards, tom lane


pgsql-sql by date:

Previous
From: Kyle Bateman
Date:
Subject: Finding context for error log
Next
From: "Ezequias Rodrigues da Rocha"
Date:
Subject: Re: Populating using Select