*** pgsql/src/backend/optimizer/plan/setrefs.c 2009/01/01 17:23:44 1.148 --- pgsql/src/backend/optimizer/plan/setrefs.c 2009/01/22 20:16:04 1.149 *************** *** 9,15 **** * * * IDENTIFICATION ! * $PostgreSQL: pgsql/src/backend/optimizer/plan/setrefs.c,v 1.147 2008/12/28 18:53:57 tgl Exp $ * *------------------------------------------------------------------------- */ --- 9,15 ---- * * * IDENTIFICATION ! * $PostgreSQL: pgsql/src/backend/optimizer/plan/setrefs.c,v 1.148 2009/01/01 17:23:44 momjian Exp $ * *------------------------------------------------------------------------- */ *************** set_plan_references(PlannerGlobal *glob, *** 189,195 **** * In the flat rangetable, we zero out substructure pointers that are not * needed by the executor; this reduces the storage space and copying cost * for cached plans. We keep only the alias and eref Alias fields, which ! * are needed by EXPLAIN. */ foreach(lc, rtable) { --- 189,196 ---- * In the flat rangetable, we zero out substructure pointers that are not * needed by the executor; this reduces the storage space and copying cost * for cached plans. We keep only the alias and eref Alias fields, which ! * are needed by EXPLAIN, and the selectedCols and modifiedCols bitmaps, ! * which are needed for executor-startup permissions checking. */ foreach(lc, rtable) {