Re: Reporting the bind-parameter on an error - Mailing list pgsql-hackers

From Tom Lane
Subject Re: Reporting the bind-parameter on an error
Date
Msg-id 20941.1218810196@sss.pgh.pa.us
Whole thread Raw
In response to Reporting the bind-parameter on an error  ("Fujii Masao" <masao.fujii@gmail.com>)
List pgsql-hackers
"Fujii Masao" <masao.fujii@gmail.com> writes:
> The bind-parameter is useful information for debugging. So, I made
> the small patch which reports the bind-parameter together with
> the SQL statement on an error.

You can't invoke user-defined I/O functions in an already-failed
transaction.  For that matter, you shouldn't really even try to do the
catalog lookups involved in identifying them.
        regards, tom lane


pgsql-hackers by date:

Previous
From: Andrew Dunstan
Date:
Subject: Re: So what about XSLT?
Next
From: Tom Lane
Date:
Subject: Re: migrate data 6.5.3 -> 8.3.1