mirror of
https://github.com/postgres/postgres.git
synced 2025-07-30 11:03:19 +03:00
Fix test failure with non-MULTIPLICITY Perl interpreters.
Per buildfarm.
This commit is contained in:
@ -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;
|
||||||
|
@ -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;
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user