mirror of
https://github.com/postgres/postgres.git
synced 2026-04-07 10:17:24 -04:00
Fix copyfuncs/equalfuncs support for ReassignOwnedStmt.
Noah Misch
This commit is contained in:
parent
7bebb85192
commit
cd3d613ffe
2 changed files with 2 additions and 2 deletions
|
|
@ -2895,7 +2895,7 @@ _copyReassignOwnedStmt(ReassignOwnedStmt *from)
|
|||
ReassignOwnedStmt *newnode = makeNode(ReassignOwnedStmt);
|
||||
|
||||
COPY_NODE_FIELD(roles);
|
||||
COPY_SCALAR_FIELD(newrole);
|
||||
COPY_STRING_FIELD(newrole);
|
||||
|
||||
return newnode;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1633,7 +1633,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 a new issue