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_do.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_do.out')
| -rw-r--r-- | src/pl/plpython/expected/plpython_do.out | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/pl/plpython/expected/plpython_do.out b/src/pl/plpython/expected/plpython_do.out index a21b0887ad..41b7a51138 100644 --- a/src/pl/plpython/expected/plpython_do.out +++ b/src/pl/plpython/expected/plpython_do.out @@ -3,4 +3,7 @@ NOTICE: This is plpythonu. CONTEXT: PL/Python anonymous code block DO $$ nonsense $$ LANGUAGE plpythonu; ERROR: NameError: global name 'nonsense' is not defined -CONTEXT: PL/Python anonymous code block +CONTEXT: Traceback (most recent call last): + PL/Python anonymous code block, line 1, in <module> + nonsense +PL/Python anonymous code block |
