2 -- test error handling, i forgot to restore Warn_restart in
3 -- the trigger handler once. the errors and subsequent core dump were
6 SELECT invalid_type_uncaught('rick');
7 SELECT invalid_type_caught('rick');
8 SELECT invalid_type_reraised('rick');
9 SELECT valid_type('rick');
11 -- Security sandbox tests
12 SELECT write_file('/tmp/plpython','Only trusted users should be able to do this!');
13 SELECT read_file('/tmp/plpython');