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

Commit4fd49c7

Browse files
committed
Fix copyfuncs/equalfuncs support for ReassignOwnedStmt.
Noah Misch
1 parent156fac5 commit4fd49c7

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
@@ -3449,7 +3449,7 @@ _copyReassignOwnedStmt(ReassignOwnedStmt *from)
34493449
ReassignOwnedStmt*newnode=makeNode(ReassignOwnedStmt);
34503450

34513451
COPY_NODE_FIELD(roles);
3452-
COPY_SCALAR_FIELD(newrole);
3452+
COPY_STRING_FIELD(newrole);
34533453

34543454
returnnewnode;
34553455
}

‎src/backend/nodes/equalfuncs.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1888,7 +1888,7 @@ static bool
18881888
_equalReassignOwnedStmt(ReassignOwnedStmt*a,ReassignOwnedStmt*b)
18891889
{
18901890
COMPARE_NODE_FIELD(roles);
1891-
COMPARE_NODE_FIELD(newrole);
1891+
COMPARE_STRING_FIELD(newrole);
18921892

18931893
return true;
18941894
}

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp