Re: Finding context for error log

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Kyle Bateman <kyle(at)actarg(dot)com>
Cc: pgsql-sql(at)postgresql(dot)org
Subject: Re: Finding context for error log
Date: 2006-09-26 14:56:40
Message-ID: 25798.1159282600@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-sql

Kyle Bateman <kyle(at)actarg(dot)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

In response to

Responses

Browse pgsql-sql by date

  From Date Subject
Next Message Ezequias Rodrigues da Rocha 2006-09-26 18:38:22 Re: Populating using Select
Previous Message Kyle Bateman 2006-09-26 14:19:21 Finding context for error log