plpython_error.sql

来自「PostgreSQL7.4.6 for Linux」· SQL 代码 · 共 14 行

SQL
14
字号
-- 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');-- Security sandbox testsSELECT write_file('/tmp/plpython','Only trusted users should be able to do this!');SELECT read_file('/tmp/plpython');

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?