Skip to content

Commit b5eccae

Browse files
committed
Fix copyfuncs/equalfuncs support for ReassignOwnedStmt.
Noah Misch
1 parent 53bbc68 commit b5eccae

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/backend/nodes/copyfuncs.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3652,7 +3652,7 @@ _copyReassignOwnedStmt(const ReassignOwnedStmt *from)
36523652
ReassignOwnedStmt *newnode = makeNode(ReassignOwnedStmt);
36533653

36543654
COPY_NODE_FIELD(roles);
3655-
COPY_SCALAR_FIELD(newrole);
3655+
COPY_STRING_FIELD(newrole);
36563656

36573657
return newnode;
36583658
}

src/backend/nodes/equalfuncs.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1947,7 +1947,7 @@ static bool
19471947
_equalReassignOwnedStmt(const ReassignOwnedStmt *a, const ReassignOwnedStmt *b)
19481948
{
19491949
COMPARE_NODE_FIELD(roles);
1950-
COMPARE_NODE_FIELD(newrole);
1950+
COMPARE_STRING_FIELD(newrole);
19511951

19521952
return true;
19531953
}

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy