mirror of
https://git.postgresql.org/git/postgresql.git
synced 2026-02-10 20:57:38 +08:00
Add plpython code.
This commit is contained in:
9
src/pl/plpython/plpython_error.sql
Normal file
9
src/pl/plpython/plpython_error.sql
Normal file
@ -0,0 +1,9 @@
|
||||
|
||||
-- test error handling, i forgot to restore Warn_restart in
|
||||
-- the trigger handler once. the errors and subsequent core dump were
|
||||
-- interesting.
|
||||
|
||||
SELECT invalid_type_uncaught('rick');
|
||||
SELECT invalid_type_caught('rick');
|
||||
SELECT invalid_type_reraised('rick');
|
||||
SELECT valid_type('rick');
|
||||
Reference in New Issue
Block a user