mirror of https://github.com/citusdata/citus.git
Removes unused code
parent
6699da07da
commit
e89d48ef7f
|
@ -68,7 +68,6 @@ static DefElem * makeDefElemBool(char *name, bool value);
|
||||||
static List * GenerateRoleOptionsList(HeapTuple tuple);
|
static List * GenerateRoleOptionsList(HeapTuple tuple);
|
||||||
static List * GenerateGrantRoleStmtsFromOptions(RoleSpec *roleSpec, List *options);
|
static List * GenerateGrantRoleStmtsFromOptions(RoleSpec *roleSpec, List *options);
|
||||||
static List * GenerateGrantRoleStmtsOfRole(Oid roleid);
|
static List * GenerateGrantRoleStmtsOfRole(Oid roleid);
|
||||||
static ObjectAddress * GetRoleObjectAddressFromOid(Oid roleOid);
|
|
||||||
static GrantRoleStmt * GetGrantRoleStmtFromAuthMemberRecord(Form_pg_auth_members
|
static GrantRoleStmt * GetGrantRoleStmtFromAuthMemberRecord(Form_pg_auth_members
|
||||||
membership);
|
membership);
|
||||||
static List * GenerateSecLabelOnRoleStmts(Oid roleid, char *rolename);
|
static List * GenerateSecLabelOnRoleStmts(Oid roleid, char *rolename);
|
||||||
|
@ -973,15 +972,6 @@ GenerateGrantRoleStmts()
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
static ObjectAddress *
|
|
||||||
GetRoleObjectAddressFromOid(Oid roleOid)
|
|
||||||
{
|
|
||||||
ObjectAddress *roleAddress = palloc0(sizeof(ObjectAddress));
|
|
||||||
ObjectAddressSet(*roleAddress, AuthIdRelationId, roleOid);
|
|
||||||
return roleAddress;
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
static GrantRoleStmt *
|
static GrantRoleStmt *
|
||||||
GetGrantRoleStmtFromAuthMemberRecord(Form_pg_auth_members membership)
|
GetGrantRoleStmtFromAuthMemberRecord(Form_pg_auth_members membership)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue