diff options
author | Tom Lane <tgl@sss.pgh.pa.us> | 2015-09-10 10:23:56 -0400 |
---|---|---|
committer | Tom Lane <tgl@sss.pgh.pa.us> | 2015-09-10 10:24:11 -0400 |
commit | edebc04dbd564fd738df1f1ca4f2c05c5cad123d (patch) | |
tree | 8d01f6c2b5115ac246d14bf161b8635589c937b7 | |
parent | 9adaccab2a9e44cf53d2d5c2d3b780ac10e10a5f (diff) | |
download | postgresql-edebc04dbd564fd738df1f1ca4f2c05c5cad123d.tar.gz postgresql-edebc04dbd564fd738df1f1ca4f2c05c5cad123d.zip |
Fix setrefs.c comment properly.
The "typo" alleged in commit 1e460d4bd was actually a comment that was
correct when written, but I missed updating it in commit b5282aa89.
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.
-rw-r--r-- | src/backend/optimizer/plan/setrefs.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/backend/optimizer/plan/setrefs.c b/src/backend/optimizer/plan/setrefs.c index d42f10cc71d..90c4a26b995 100644 --- a/src/backend/optimizer/plan/setrefs.c +++ b/src/backend/optimizer/plan/setrefs.c @@ -1243,7 +1243,7 @@ copyVar(Var *var) * This is code that is common to all variants of expression-fixing. * We must look up operator opcode info for OpExpr and related nodes, * add OIDs from regclass Const nodes into root->glob->relationOids, and - * add catalog OIDs for user-defined functions into root->glob->invalItems. + * add PlanInvalItems for user-defined functions into root->glob->invalItems. * We also fill in column index lists for GROUPING() expressions. * * We assume it's okay to update opcode info in-place. So this could possibly |