mirror of https://github.com/citusdata/citus.git
Fixes non-distributed test error
parent
9f86fbe3d2
commit
890429e7fc
|
@ -224,7 +224,6 @@ SET citus.enable_create_role_propagation TO ON;
|
||||||
SET ROLE dist_role_1;
|
SET ROLE dist_role_1;
|
||||||
GRANT non_dist_role_1 TO non_dist_role_2;
|
GRANT non_dist_role_1 TO non_dist_role_2;
|
||||||
SET citus.enable_create_role_propagation TO OFF;
|
SET citus.enable_create_role_propagation TO OFF;
|
||||||
SET ROLE non_dist_role_1;
|
|
||||||
GRANT dist_role_1 TO dist_role_2;
|
GRANT dist_role_1 TO dist_role_2;
|
||||||
RESET ROLE;
|
RESET ROLE;
|
||||||
SET citus.enable_create_role_propagation TO ON;
|
SET citus.enable_create_role_propagation TO ON;
|
||||||
|
@ -274,10 +273,10 @@ SELECT rolname FROM pg_authid WHERE rolname LIKE '%dist\_%' ORDER BY 1;
|
||||||
|
|
||||||
\c - - - :worker_2_port
|
\c - - - :worker_2_port
|
||||||
SELECT roleid::regrole::text AS role, member::regrole::text, grantor::regrole::text, admin_option FROM pg_auth_members WHERE roleid::regrole::text LIKE '%dist\_%' ORDER BY 1, 2;
|
SELECT roleid::regrole::text AS role, member::regrole::text, grantor::regrole::text, admin_option FROM pg_auth_members WHERE roleid::regrole::text LIKE '%dist\_%' ORDER BY 1, 2;
|
||||||
role | member | grantor | admin_option
|
role | member | grantor | admin_option
|
||||||
---------------------------------------------------------------------
|
---------------------------------------------------------------------
|
||||||
dist_role_1 | dist_role_2 | postgres | f
|
dist_role_1 | dist_role_2 | dist_role_1 | f
|
||||||
non_dist_role_4 | dist_role_4 | postgres | f
|
non_dist_role_4 | dist_role_4 | postgres | f
|
||||||
(2 rows)
|
(2 rows)
|
||||||
|
|
||||||
SELECT rolname FROM pg_authid WHERE rolname LIKE '%dist\_%' ORDER BY 1;
|
SELECT rolname FROM pg_authid WHERE rolname LIKE '%dist\_%' ORDER BY 1;
|
||||||
|
|
|
@ -99,8 +99,6 @@ GRANT non_dist_role_1 TO non_dist_role_2;
|
||||||
|
|
||||||
SET citus.enable_create_role_propagation TO OFF;
|
SET citus.enable_create_role_propagation TO OFF;
|
||||||
|
|
||||||
SET ROLE non_dist_role_1;
|
|
||||||
|
|
||||||
GRANT dist_role_1 TO dist_role_2;
|
GRANT dist_role_1 TO dist_role_2;
|
||||||
|
|
||||||
RESET ROLE;
|
RESET ROLE;
|
||||||
|
|
Loading…
Reference in New Issue