diff options
Diffstat (limited to 'src/pl/plpython/plpython_error.sql')
-rw-r--r-- | src/pl/plpython/plpython_error.sql | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/src/pl/plpython/plpython_error.sql b/src/pl/plpython/plpython_error.sql index 0cde4df9967..f1939eb8ffb 100644 --- a/src/pl/plpython/plpython_error.sql +++ b/src/pl/plpython/plpython_error.sql @@ -9,9 +9,5 @@ SELECT invalid_type_reraised('rick'); SELECT valid_type('rick'); -- Security sandbox tests -SELECT read_file('/etc/passwd'); -SELECT write_file('/tmp/plpython','This is very bad'); -SELECT getpid(); -SELECT uname(); -SELECT sys_exit(); -SELECT sys_argv(); +SELECT write_file('/tmp/plpython','Only trusted users should be able to do this!'); +SELECT read_file('/tmp/plpython'); |