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

Commit59d310b

Browse files
committed
Fix setrefs.c comment properly.
The "typo" alleged in commit1e460d4 was actually a comment that wascorrect when written, but I missed updating it in commitb5282aa.Use a slightly less specific (and hopefully more future-proof) descriptionof what is collected. Back-patch to 9.2 where that commit appeared, andrevert the comment to its then-entirely-correct state before that.
1 parent21a7c07 commit59d310b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎src/backend/optimizer/plan/setrefs.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1056,7 +1056,7 @@ copyVar(Var *var)
10561056
* This is code that is common to all variants of expression-fixing.
10571057
* We must look up operator opcode info for OpExpr and related nodes,
10581058
* add OIDs from regclass Const nodes into root->glob->relationOids, and
1059-
* addcatalog OIDs for user-defined functions into root->glob->invalItems.
1059+
* addPlanInvalItems for user-defined functions into root->glob->invalItems.
10601060
*
10611061
* We assume it's okay to update opcode info in-place. So this could possibly
10621062
* scribble on the planner's input data structures, but it's OK.

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp