Friday, August 15, 2008

Re: [HACKERS] Reporting the bind-parameter on an error

"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

--
Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-hackers

No comments: