mirror of
https://git.postgresql.org/git/postgresql.git
synced 2026-02-07 15:47:34 +08:00
Add traceback information to PL/Python errors
This mimics the traceback information the Python interpreter prints with exceptions. Jan Urbański
This commit is contained in:
@ -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"
|
||||
|
||||
Reference in New Issue
Block a user