OSDN Git Service

Use errcontext mechanism in PL/Python
authorPeter Eisentraut <peter_e@gmx.net>
Mon, 20 Jul 2009 08:01:07 +0000 (08:01 +0000)
committerPeter Eisentraut <peter_e@gmx.net>
Mon, 20 Jul 2009 08:01:07 +0000 (08:01 +0000)
commit5106bdc45040e4aeb033f0c7f9e48fd3c8944258
tree1188c4a8c1b013719bf9aeee3a88598a40affc94
parent888d3335b1bcbf43ea6a76acb010adf65e9d782a
Use errcontext mechanism in PL/Python

Error messages from PL/Python now always mention the function name in the
CONTEXT: field.  This also obsoletes the few places that tried to do the
same manually.

Regression test files are updated to work with Python 2.4-2.6.  I don't have
access to older versions right now.
src/pl/plpython/expected/plpython_error.out
src/pl/plpython/expected/plpython_error_3.out
src/pl/plpython/expected/plpython_function.out
src/pl/plpython/expected/plpython_test.out
src/pl/plpython/plpython.c