diff options
| author | Stephen Frost | 2015-09-10 13:22:44 +0000 |
|---|---|---|
| committer | Stephen Frost | 2015-09-10 13:22:44 +0000 |
| commit | 0473e047877ab9e51d5130bc14276b2308ed77a8 (patch) | |
| tree | fd7825f1ab26c4112a2566082b135a041e31487e | |
| parent | 669856714222cc27d6ce08b80ed774e854830673 (diff) | |
Fix typo in setrefs.c
We're adding OIDs, not TIDs, to invalItems.
Pointed out by Etsuro Fujita.
Back-patch to all supported branches.
| -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 2e1c045ea80..0e2d1caa02f 100644 --- a/src/backend/optimizer/plan/setrefs.c +++ b/src/backend/optimizer/plan/setrefs.c @@ -765,7 +765,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 glob->relationOids, - * and add catalog TIDs for user-defined functions into glob->invalItems. + * and add catalog OIDs for user-defined functions into glob->invalItems. * * We assume it's okay to update opcode info in-place. So this could possibly * scribble on the planner's input data structures, but it's OK. |
