From 6582b4490d62f684397db3aec0a80392e9eb11c6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?G=C3=BCrkan=20=C4=B0ndibay?= Date: Thu, 15 Feb 2024 10:47:04 +0300 Subject: [PATCH] Update src/backend/distributed/commands/role.c Co-authored-by: Onur Tirtir --- src/backend/distributed/commands/role.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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