Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitb5eccae

Browse files
committed
Fix copyfuncs/equalfuncs support for ReassignOwnedStmt.
Noah Misch
1 parent53bbc68 commitb5eccae

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
returnnewnode;
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(constReassignOwnedStmt*a,constReassignOwnedStmt*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)

[8]ページ先頭

©2009-2025 Movatter.jp