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
2520cf8c
Commit
2520cf8c
authored
Jan 30, 2020
by
Tom Lane
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix test failure with non-MULTIPLICITY Perl interpreters.
Per buildfarm.
parent
e6f1e560
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
0 deletions
+8
-0
src/pl/plperl/expected/plperl_setup.out
src/pl/plperl/expected/plperl_setup.out
+3
-0
src/pl/plperl/sql/plperl_setup.sql
src/pl/plperl/sql/plperl_setup.sql
+5
-0
No files found.
src/pl/plperl/expected/plperl_setup.out
View file @
2520cf8c
...
@@ -32,6 +32,9 @@ SELECT foo1();
...
@@ -32,6 +32,9 @@ SELECT foo1();
1
1
(1 row)
(1 row)
-- Must reconnect to avoid failure with non-MULTIPLICITY Perl interpreters
\c -
SET ROLE regress_user1;
-- Should be able to change privileges on the language
-- Should be able to change privileges on the language
revoke all on language plperl from public;
revoke all on language plperl from public;
SET ROLE regress_user2;
SET ROLE regress_user2;
...
...
src/pl/plperl/sql/plperl_setup.sql
View file @
2520cf8c
...
@@ -31,6 +31,11 @@ CREATE EXTENSION plperlu; -- fail
...
@@ -31,6 +31,11 @@ CREATE EXTENSION plperlu; -- fail
CREATE
FUNCTION
foo1
()
returns
int
language
plperl
as
'1;'
;
CREATE
FUNCTION
foo1
()
returns
int
language
plperl
as
'1;'
;
SELECT
foo1
();
SELECT
foo1
();
-- Must reconnect to avoid failure with non-MULTIPLICITY Perl interpreters
\
c
-
SET
ROLE
regress_user1
;
-- Should be able to change privileges on the language
-- Should be able to change privileges on the language
revoke
all
on
language
plperl
from
public
;
revoke
all
on
language
plperl
from
public
;
...
...
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