Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
P
Postgres FD Implementation
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Abuhujair Javed
Postgres FD Implementation
Commits
1b3a437a
Commit
1b3a437a
authored
Feb 12, 2010
by
Andrew Dunstan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add regression test files inadvertantly omitted in plperl.on_plperl{u}_init patch
parent
3ad7dbb1
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
24 additions
and
0 deletions
+24
-0
src/pl/plperl/expected/plperl_init.out
src/pl/plperl/expected/plperl_init.out
+14
-0
src/pl/plperl/sql/plperl_init.sql
src/pl/plperl/sql/plperl_init.sql
+10
-0
No files found.
src/pl/plperl/expected/plperl_init.out
0 → 100644
View file @
1b3a437a
-- 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;
plperl.on_plperl_init
-----------------------
eval "1+1"
(1 row)
DO $$ warn 42 $$ language plperl;
ERROR: while executing plperl.on_plperl_init
DETAIL: 'eval "string"' trapped by operation mask at line 2.
CONTEXT: PL/Perl anonymous code block
src/pl/plperl/sql/plperl_init.sql
0 → 100644
View file @
1b3a437a
-- 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
;
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment