mirror of https://github.com/citusdata/citus.git
Update src/backend/distributed/commands/role.c
Co-authored-by: Onur Tirtir <onurcantirtir@gmail.com>pull/7451/head
parent
8a0263b5e3
commit
6582b4490d
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue