mirror of
https://git.postgresql.org/git/postgresql.git
synced 2025-02-17 19:30:00 +08:00
Fix copyfuncs/equalfuncs support for ReassignOwnedStmt.
Noah Misch
This commit is contained in:
parent
156fac55c7
commit
4fd49c7336
@ -3449,7 +3449,7 @@ _copyReassignOwnedStmt(ReassignOwnedStmt *from)
|
||||
ReassignOwnedStmt *newnode = makeNode(ReassignOwnedStmt);
|
||||
|
||||
COPY_NODE_FIELD(roles);
|
||||
COPY_SCALAR_FIELD(newrole);
|
||||
COPY_STRING_FIELD(newrole);
|
||||
|
||||
return newnode;
|
||||
}
|
||||
|
@ -1888,7 +1888,7 @@ static bool
|
||||
_equalReassignOwnedStmt(ReassignOwnedStmt *a, ReassignOwnedStmt *b)
|
||||
{
|
||||
COMPARE_NODE_FIELD(roles);
|
||||
COMPARE_NODE_FIELD(newrole);
|
||||
COMPARE_STRING_FIELD(newrole);
|
||||
|
||||
return true;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user