mirror of
https://github.com/postgres/postgres.git
synced 2026-06-09 00:53:52 -04:00
PL/Python DO handler
Also cleaned up some redundancies between the primary error messages and the error context in PL/Python. Hannu Valtonen
This commit is contained in:
@@ -0,0 +1,6 @@
|
||||
DO $$ plpy.notice("This is plpythonu.") $$ LANGUAGE plpythonu;
|
||||
NOTICE: This is plpythonu.
|
||||
CONTEXT: PL/Python anonymous code block
|
||||
DO $$ nonsense $$ LANGUAGE plpythonu;
|
||||
ERROR: PL/Python: NameError: global name 'nonsense' is not defined
|
||||
CONTEXT: PL/Python anonymous code block
|
||||
Reference in New Issue
Block a user