mirror of https://github.com/citusdata/citus.git
Drop the role in test
parent
a1abbb6fa4
commit
9f6a526927
|
@ -6,3 +6,5 @@ SELECT citus_internal.commit_management_command_2pc();
|
||||||
ERROR: permission denied for function commit_management_command_2pc
|
ERROR: permission denied for function commit_management_command_2pc
|
||||||
SELECT citus_internal.replace_isolation_tester_func();
|
SELECT citus_internal.replace_isolation_tester_func();
|
||||||
ERROR: permission denied for function replace_isolation_tester_func
|
ERROR: permission denied for function replace_isolation_tester_func
|
||||||
|
RESET ROLE;
|
||||||
|
DROP USER nonsuperuser;
|
|
@ -5,3 +5,6 @@ SET ROLE nonsuperuser;
|
||||||
--- The non-superuser role should not be able to access citus_internal functions
|
--- The non-superuser role should not be able to access citus_internal functions
|
||||||
SELECT citus_internal.commit_management_command_2pc();
|
SELECT citus_internal.commit_management_command_2pc();
|
||||||
SELECT citus_internal.replace_isolation_tester_func();
|
SELECT citus_internal.replace_isolation_tester_func();
|
||||||
|
|
||||||
|
RESET ROLE;
|
||||||
|
DROP USER nonsuperuser;
|
||||||
|
|
Loading…
Reference in New Issue