Commit b5eccaef authored by Robert Haas's avatar Robert Haas

Fix copyfuncs/equalfuncs support for ReassignOwnedStmt.

Noah Misch
parent 53bbc681
...@@ -3652,7 +3652,7 @@ _copyReassignOwnedStmt(const ReassignOwnedStmt *from) ...@@ -3652,7 +3652,7 @@ _copyReassignOwnedStmt(const 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;
} }
......
...@@ -1947,7 +1947,7 @@ static bool ...@@ -1947,7 +1947,7 @@ static bool
_equalReassignOwnedStmt(const ReassignOwnedStmt *a, const ReassignOwnedStmt *b) _equalReassignOwnedStmt(const ReassignOwnedStmt *a, const ReassignOwnedStmt *b)
{ {
COMPARE_NODE_FIELD(roles); COMPARE_NODE_FIELD(roles);
COMPARE_NODE_FIELD(newrole); COMPARE_STRING_FIELD(newrole);
return true; return true;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment