Content-Length: 282585 | pFad | http://github.com/postgrespro/postgres/commit/b5eccaef2c05fd0c17f4510001528232b242a88e

E4 Fix copyfuncs/equalfuncs support for ReassignOwnedStmt. · postgrespro/postgres@b5eccae · GitHub
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)








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: http://github.com/postgrespro/postgres/commit/b5eccaef2c05fd0c17f4510001528232b242a88e

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy