Skip to content

Commit 87efbc2

Browse files
committed
Fix setrefs.c comment properly.
The "typo" alleged in commit 1e460d4 was actually a comment that was correct when written, but I missed updating it in commit b5282aa. Use a slightly less specific (and hopefully more future-proof) description of what is collected. Back-patch to 9.2 where that commit appeared, and revert the comment to its then-entirely-correct state before that.
1 parent 1e460d4 commit 87efbc2

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
@@ -1243,7 +1243,7 @@ copyVar(Var *var)
12431243
* This is code that is common to all variants of expression-fixing.
12441244
* We must look up operator opcode info for OpExpr and related nodes,
12451245
* add OIDs from regclass Const nodes into root->glob->relationOids, and
1246-
* add catalog OIDs for user-defined functions into root->glob->invalItems.
1246+
* add PlanInvalItems for user-defined functions into root->glob->invalItems.
12471247
* We also fill in column index lists for GROUPING() expressions.
12481248
*
12491249
* We assume it's okay to update opcode info in-place. So this could possibly

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