]> granicus.if.org Git - postgresql/blob - src/pl/plpython/sql/plpython_error.sql
This patch addresses the problem mentioned in the "process crash
[postgresql] / src / pl / plpython / sql / plpython_error.sql
1
2 -- test error handling, i forgot to restore Warn_restart in
3 -- the trigger handler once. the errors and subsequent core dump were
4 -- interesting.
5
6 SELECT invalid_type_uncaught('rick');
7 SELECT invalid_type_caught('rick');
8 SELECT invalid_type_reraised('rick');
9 SELECT valid_type('rick');
10
11 --
12 -- Test Unicode error handling.
13 --
14
15 SELECT unicode_return_error();
16 INSERT INTO unicode_test (testvalue) VALUES ('test');
17 SELECT unicode_plan_error1();
18 SELECT unicode_plan_error2();