mirror of
https://github.com/postgres/postgres.git
synced 2025-08-09 17:03:00 +03:00
Add regression test files inadvertantly omitted in plperl.on_plperl{u}_init patch
This commit is contained in:
10
src/pl/plperl/sql/plperl_init.sql
Normal file
10
src/pl/plperl/sql/plperl_init.sql
Normal file
@@ -0,0 +1,10 @@
|
||||
-- test plperl.on_plperl_init errors are fatal
|
||||
|
||||
-- Avoid need for custom_variable_classes = 'plperl'
|
||||
LOAD 'plperl';
|
||||
|
||||
SET SESSION plperl.on_plperl_init = ' eval "1+1" ';
|
||||
|
||||
SHOW plperl.on_plperl_init;
|
||||
|
||||
DO $$ warn 42 $$ language plperl;
|
Reference in New Issue
Block a user