Fixes pg16 output

granted_by_propagation
gurkanindibay 2024-03-11 16:12:26 +03:00
parent e8fb4c694c
commit e0cc004c7e
1 changed files with 13 additions and 5 deletions

View File

@ -1053,7 +1053,15 @@ CREATE ROLE role5;
RESET citus.enable_ddl_propagation; RESET citus.enable_ddl_propagation;
-- by default, admin option is false, inherit is true, set is true -- by default, admin option is false, inherit is true, set is true
GRANT role3 TO role4; GRANT role3 TO role4;
NOTICE: not propagating GRANT command to other nodes
HINT: Since no grantees are distributed, the GRANT command will not be propagated to other nodes.
NOTICE: not propagating GRANT command to other nodes
HINT: Since no granted roles are distributed, the GRANT command will not be propagated to other nodes.
GRANT role3 TO role5 WITH ADMIN TRUE, INHERIT FALSE, SET FALSE; GRANT role3 TO role5 WITH ADMIN TRUE, INHERIT FALSE, SET FALSE;
NOTICE: not propagating GRANT command to other nodes
HINT: Since no grantees are distributed, the GRANT command will not be propagated to other nodes.
NOTICE: not propagating GRANT command to other nodes
HINT: Since no granted roles are distributed, the GRANT command will not be propagated to other nodes.
SELECT roleid::regrole::text AS role, member::regrole::text, admin_option, inherit_option, set_option FROM pg_auth_members SELECT roleid::regrole::text AS role, member::regrole::text, admin_option, inherit_option, set_option FROM pg_auth_members
WHERE roleid::regrole::text = 'role3' ORDER BY 1, 2; WHERE roleid::regrole::text = 'role3' ORDER BY 1, 2;
role | member | admin_option | inherit_option | set_option role | member | admin_option | inherit_option | set_option