1 -- test plperl.on_plperl_init errors are fatal
2 -- This test tests setting on_plperl_init after loading plperl
4 SET SESSION plperl.on_plperl_init = ' system("/nonesuch"); ';
5 SHOW plperl.on_plperl_init;
7 ------------------------
11 DO $$ warn 42 $$ language plperl;
12 ERROR: 'system' trapped by operation mask at line 1.
13 CONTEXT: while executing plperl.on_plperl_init
14 PL/Perl anonymous code block