PL/Python errcontext support

Started by Peter Eisentrautover 16 years ago1 messageshackers
Jump to latest
#1Peter Eisentraut
peter_e@gmx.net

During the review of the patch about improved PL/Python data type support, I
figured this could be somewhat simplified if PL/Python used the errcontext()
mechanisms instead of passing the function name around everywhere in order to
use it in error messages.

I have produced the attached patch. The errcontext stuff is a bit obscure to
me though, so perhaps someone could look it over.

Attachments:

plpython-errcontext.patchtext/x-patch; charset=UTF-8; name=plpython-errcontext.patchDownload+35-12