mirror of
https://github.com/postgres/postgres.git
synced 2025-05-01 01:04:50 +03:00
Fix copyfuncs/equalfuncs support for ReassignOwnedStmt.
Noah Misch
This commit is contained in:
parent
53bbc681ca
commit
b5eccaef2c
@ -3652,7 +3652,7 @@ _copyReassignOwnedStmt(const ReassignOwnedStmt *from)
|
||||
ReassignOwnedStmt *newnode = makeNode(ReassignOwnedStmt);
|
||||
|
||||
COPY_NODE_FIELD(roles);
|
||||
COPY_SCALAR_FIELD(newrole);
|
||||
COPY_STRING_FIELD(newrole);
|
||||
|
||||
return newnode;
|
||||
}
|
||||
|
@ -1947,7 +1947,7 @@ static bool
|
||||
_equalReassignOwnedStmt(const ReassignOwnedStmt *a, const ReassignOwnedStmt *b)
|
||||
{
|
||||
COMPARE_NODE_FIELD(roles);
|
||||
COMPARE_NODE_FIELD(newrole);
|
||||
COMPARE_STRING_FIELD(newrole);
|
||||
|
||||
return true;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user