Re: pl/python tracebacks

Tom Lane <tgl@sss.pgh.pa.us>

From: Tom Lane <tgl@sss.pgh.pa.us>
To: Jan Urbański <wulczer@wulczer.org>
Cc: Peter Eisentraut <peter_e@gmx.net>, Robert Haas <robertmhaas@gmail.com>, Postgres - Hackers <pgsql-hackers@postgresql.org>
Date: 2011-03-01T19:35:58Z
Lists: pgsql-hackers
=?UTF-8?B?SmFuIFVyYmHFhHNraQ==?= <wulczer@wulczer.org> writes:
> Currently the traceback is added to the detail and the original
> errdetail is preserved. So you'd get the detail line and the traceback
> below it.

Hm?  I'm talking about plpython_error_callback() and friends, which
AFAICS you haven't changed the behavior of at all.  And it would
certainly be completely inappropriate to do what's said above for
an errdetail with a non-plpython origin.

			regards, tom lane