Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Fix typo in setrefs.c
authorStephen Frost <sfrost@snowman.net>
Thu, 10 Sep 2015 13:22:33 +0000 (09:22 -0400)
committerStephen Frost <sfrost@snowman.net>
Thu, 10 Sep 2015 13:22:33 +0000 (09:22 -0400)
We're adding OIDs, not TIDs, to invalItems.

Pointed out by Etsuro Fujita.

Back-patch to all supported branches.

src/backend/optimizer/plan/setrefs.c

index cc8d39f39bbee354e9e0127e5cb786f3851d7c2e..623b8863cc50410a695acf3790b627174fb05401 100644 (file)
@@ -1055,7 +1055,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 TIDs for user-defined functions into root->glob->invalItems.
+ * add catalog OIDs for user-defined functions into root->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.