Fix copyfuncs/equalfuncs support for ReassignOwnedStmt.
Noah Misch
This commit is contained in:
parent
095527a701
commit
8d2ef107e6
@ -3319,7 +3319,7 @@ _copyReassignOwnedStmt(ReassignOwnedStmt *from)
|
|||||||
ReassignOwnedStmt *newnode = makeNode(ReassignOwnedStmt);
|
ReassignOwnedStmt *newnode = makeNode(ReassignOwnedStmt);
|
||||||
|
|
||||||
COPY_NODE_FIELD(roles);
|
COPY_NODE_FIELD(roles);
|
||||||
COPY_SCALAR_FIELD(newrole);
|
COPY_STRING_FIELD(newrole);
|
||||||
|
|
||||||
return newnode;
|
return newnode;
|
||||||
}
|
}
|
||||||
|
@ -1837,7 +1837,7 @@ static bool
|
|||||||
_equalReassignOwnedStmt(ReassignOwnedStmt *a, ReassignOwnedStmt *b)
|
_equalReassignOwnedStmt(ReassignOwnedStmt *a, ReassignOwnedStmt *b)
|
||||||
{
|
{
|
||||||
COMPARE_NODE_FIELD(roles);
|
COMPARE_NODE_FIELD(roles);
|
||||||
COMPARE_NODE_FIELD(newrole);
|
COMPARE_STRING_FIELD(newrole);
|
||||||
|
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user