mirror of
https://github.com/postgres/postgres.git
synced 2026-10-31 05:54:36 +03: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