diff --git a/src/backend/distributed/commands/role.c b/src/backend/distributed/commands/role.c index 6e0aa0ba0..f2b567e6e 100644 --- a/src/backend/distributed/commands/role.c +++ b/src/backend/distributed/commands/role.c @@ -912,7 +912,7 @@ GenerateGrantRoleStmtsOfRole(Oid roleid) RoleSpec *grantorRole = makeNode(RoleSpec); grantorRole->roletype = ROLESPEC_CSTRING; grantorRole->location = -1; - grantorRole->rolename = GetUserNameFromId(membership->grantor, true); + grantorRole->rolename = GetUserNameFromId(membership->grantor, false); grantRoleStmt->grantor = grantorRole; #if PG_VERSION_NUM >= PG_VERSION_16