]> granicus.if.org Git - postgresql/blob - src/pl/plpython/expected/plpython_error.out
06043289fed7be0a69bba9abef97f935608c4c50
[postgresql] / src / pl / plpython / expected / plpython_error.out
1 -- test error handling, i forgot to restore Warn_restart in
2 -- the trigger handler once. the errors and subsequent core dump were
3 -- interesting.
4 SELECT invalid_type_uncaught('rick');
5 WARNING:  plpython: in function invalid_type_uncaught:
6 DETAIL:  plpy.SPIError: Unknown error in PLy_spi_prepare
7 ERROR:  type "test" does not exist
8 SELECT invalid_type_caught('rick');
9 WARNING:  plpython: in function invalid_type_caught:
10 DETAIL:  plpy.SPIError: Unknown error in PLy_spi_prepare
11 ERROR:  type "test" does not exist
12 SELECT invalid_type_reraised('rick');
13 WARNING:  plpython: in function invalid_type_reraised:
14 DETAIL:  plpy.SPIError: Unknown error in PLy_spi_prepare
15 ERROR:  type "test" does not exist
16 SELECT valid_type('rick');
17  valid_type 
18 ------------
19  
20 (1 row)
21