Fixes non-distributed test error

pull/7451/head
gurkanindibay 2024-02-01 13:56:32 +03:00
parent 9f86fbe3d2
commit 890429e7fc
2 changed files with 3 additions and 6 deletions

View File

@ -224,7 +224,6 @@ SET citus.enable_create_role_propagation TO ON;
SET ROLE dist_role_1;
GRANT non_dist_role_1 TO non_dist_role_2;
SET citus.enable_create_role_propagation TO OFF;
SET ROLE non_dist_role_1;
GRANT dist_role_1 TO dist_role_2;
RESET ROLE;
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
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
non_dist_role_4 | dist_role_4 | postgres | f
dist_role_1 | dist_role_2 | dist_role_1 | f
non_dist_role_4 | dist_role_4 | postgres | f
(2 rows)
SELECT rolname FROM pg_authid WHERE rolname LIKE '%dist\_%' ORDER BY 1;

View File

@ -99,8 +99,6 @@ GRANT non_dist_role_1 TO non_dist_role_2;
SET citus.enable_create_role_propagation TO OFF;
SET ROLE non_dist_role_1;
GRANT dist_role_1 TO dist_role_2;
RESET ROLE;