diff options
| author | Peter Eisentraut <peter_e@gmx.net> | 2011-04-06 22:36:06 +0300 |
|---|---|---|
| committer | Peter Eisentraut <peter_e@gmx.net> | 2011-04-06 22:36:06 +0300 |
| commit | 2bd78eb8d51cc9ee03ba0287b23ff4c266dcd9b9 (patch) | |
| tree | ff280d6a8049a79ed98a71282a56ad9ec3fddbbc /src/pl/plpython/expected/plpython_test.out | |
| parent | bf6848bc8c82e82f857d48185554bc3e6dcf1013 (diff) | |
| download | postgresql-2bd78eb8d51cc9ee03ba0287b23ff4c266dcd9b9.tar.gz | |
Add traceback information to PL/Python errors
This mimics the traceback information the Python interpreter prints
with exceptions.
Jan UrbaĆski
Diffstat (limited to 'src/pl/plpython/expected/plpython_test.out')
| -rw-r--r-- | src/pl/plpython/expected/plpython_test.out | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/pl/plpython/expected/plpython_test.out b/src/pl/plpython/expected/plpython_test.out index c2358b452d..f2dda66532 100644 --- a/src/pl/plpython/expected/plpython_test.out +++ b/src/pl/plpython/expected/plpython_test.out @@ -74,4 +74,7 @@ CONTEXT: PL/Python function "elog_test" WARNING: warning CONTEXT: PL/Python function "elog_test" ERROR: plpy.Error: error -CONTEXT: PL/Python function "elog_test" +CONTEXT: Traceback (most recent call last): + PL/Python function "elog_test", line 10, in <module> + plpy.error('error') +PL/Python function "elog_test" |
