From: Stephen Frost Date: Thu, 10 Sep 2015 13:22:40 +0000 (-0400) Subject: Fix typo in setrefs.c X-Git-Tag: REL9_1_19~36 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7f0ca9a33682a73c150f14baabdce2d973c6101a;p=thirdparty%2Fpostgresql.git Fix typo in setrefs.c We're adding OIDs, not TIDs, to invalItems. Pointed out by Etsuro Fujita. Back-patch to all supported branches. --- diff --git a/src/backend/optimizer/plan/setrefs.c b/src/backend/optimizer/plan/setrefs.c index 3a1764b5046..98d89bf9d17 100644 --- a/src/backend/optimizer/plan/setrefs.c +++ b/src/backend/optimizer/plan/setrefs.c @@ -854,7 +854,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.