mirror of https://github.com/citusdata/citus.git
Fix typo in the test and revoke public privileges in the downgrade script.
parent
3c6377738b
commit
a1abbb6fa4
|
@ -21,3 +21,4 @@ DROP FUNCTION citus_internal.mark_object_distributed(
|
||||||
DROP FUNCTION citus_internal.commit_management_command_2pc();
|
DROP FUNCTION citus_internal.commit_management_command_2pc();
|
||||||
|
|
||||||
ALTER TABLE pg_catalog.pg_dist_transaction DROP COLUMN outer_xid;
|
ALTER TABLE pg_catalog.pg_dist_transaction DROP COLUMN outer_xid;
|
||||||
|
REVOKE USAGE ON SCHEMA citus_internal FROM PUBLIC;
|
||||||
|
|
|
@ -4,5 +4,5 @@ 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();
|
||||||
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
|
||||||
|
|
Loading…
Reference in New Issue