aboutsummaryrefslogtreecommitdiff
path: root/src/pl/plperl/sql/plperl_plperlu.sql
diff options
context:
space:
mode:
authorAndrew Dunstan <andrew@dunslane.net>2010-01-30 01:46:57 +0000
committerAndrew Dunstan <andrew@dunslane.net>2010-01-30 01:46:57 +0000
commit85d67ccd75ca61b27f8c58f2ea8d4e68af545d55 (patch)
treee81ddbe3348821079f482f5ef214d01f668bc36f /src/pl/plperl/sql/plperl_plperlu.sql
parent29eedd312274a62dfc510be099873319762fdfcc (diff)
downloadpostgresql-85d67ccd75ca61b27f8c58f2ea8d4e68af545d55.tar.gz
postgresql-85d67ccd75ca61b27f8c58f2ea8d4e68af545d55.zip
Add plperl.on_perl_init setting to provide for initializing the perl library on load. Also, handle END blocks in plperl.
Database access is disallowed during both these operations, although it might be allowed in END blocks in future. Patch from Tim Bunce.
Diffstat (limited to 'src/pl/plperl/sql/plperl_plperlu.sql')
-rw-r--r--src/pl/plperl/sql/plperl_plperlu.sql1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/pl/plperl/sql/plperl_plperlu.sql b/src/pl/plperl/sql/plperl_plperlu.sql
index fc2bb7b8067..15b5aa29687 100644
--- a/src/pl/plperl/sql/plperl_plperlu.sql
+++ b/src/pl/plperl/sql/plperl_plperlu.sql
@@ -16,4 +16,3 @@ $$ LANGUAGE plperlu; -- compile plperlu code
SELECT * FROM bar(); -- throws exception normally (running plperl)
SELECT * FROM foo(); -- used to cause backend crash (after switching to plperlu)
-