@@ -936,7 +936,7 @@ set_append_rel_size(PlannerInfo *root, RelOptInfo *rel,
936936/*
937937 * CE failed, so finish copying/modifying targetlist and join quals.
938938 *
939- *Note : the resulting childrel->reltarget. exprs may contain arbitrary
939+ *NB : the resulting childrel->reltarget-> exprs may contain arbitrary
940940 * expressions, which otherwise would not occur in a rel's targetlist.
941941 * Code that might be looking at an appendrel child must cope with
942942 * such. (Normally, a rel's targetlist would only include Vars and
@@ -947,9 +947,9 @@ set_append_rel_size(PlannerInfo *root, RelOptInfo *rel,
947947adjust_appendrel_attrs (root ,
948948 (Node * )rel -> joininfo ,
949949appinfo );
950- childrel -> reltarget . exprs = (List * )
950+ childrel -> reltarget -> exprs = (List * )
951951adjust_appendrel_attrs (root ,
952- (Node * )rel -> reltarget . exprs ,
952+ (Node * )rel -> reltarget -> exprs ,
953953appinfo );
954954
955955/*
@@ -994,7 +994,7 @@ set_append_rel_size(PlannerInfo *root, RelOptInfo *rel,
994994Assert (childrel -> rows > 0 );
995995
996996parent_rows += childrel -> rows ;
997- parent_size += childrel -> reltarget . width * childrel -> rows ;
997+ parent_size += childrel -> reltarget -> width * childrel -> rows ;
998998
999999/*
10001000 * Accumulate per-column estimates too. We need not do anything for
@@ -1004,8 +1004,8 @@ set_append_rel_size(PlannerInfo *root, RelOptInfo *rel,
10041004 *
10051005 * By construction, child's targetlist is 1-to-1 with parent's.
10061006 */
1007- forboth (parentvars ,rel -> reltarget . exprs ,
1008- childvars ,childrel -> reltarget . exprs )
1007+ forboth (parentvars ,rel -> reltarget -> exprs ,
1008+ childvars ,childrel -> reltarget -> exprs )
10091009{
10101010Var * parentvar = (Var * )lfirst (parentvars );
10111011Node * childvar = (Node * )lfirst (childvars );
@@ -1040,7 +1040,7 @@ set_append_rel_size(PlannerInfo *root, RelOptInfo *rel,
10401040
10411041Assert (parent_rows > 0 );
10421042rel -> rows = parent_rows ;
1043- rel -> reltarget . width = rint (parent_size /parent_rows );
1043+ rel -> reltarget -> width = rint (parent_size /parent_rows );
10441044for (i = 0 ;i < nattrs ;i ++ )
10451045rel -> attr_widths [i ]= rint (parent_attrsizes [i ] /parent_rows );
10461046
@@ -1515,7 +1515,7 @@ set_dummy_rel_pathlist(RelOptInfo *rel)
15151515{
15161516/* Set dummy size estimates --- we leave attr_widths[] as zeroes */
15171517rel -> rows = 0 ;
1518- rel -> reltarget . width = 0 ;
1518+ rel -> reltarget -> width = 0 ;
15191519
15201520/* Discard any pre-existing paths; no further need for them */
15211521rel -> pathlist = NIL ;
@@ -1771,7 +1771,7 @@ set_function_pathlist(PlannerInfo *root, RelOptInfo *rel, RangeTblEntry *rte)
17711771 * not reference the ordinality column, or at least not in any way
17721772 * that would be interesting for sorting.
17731773 */
1774- foreach (lc ,rel -> reltarget . exprs )
1774+ foreach (lc ,rel -> reltarget -> exprs )
17751775{
17761776Var * node = (Var * )lfirst (lc );
17771777
@@ -2717,7 +2717,7 @@ remove_unused_subquery_outputs(Query *subquery, RelOptInfo *rel)
27172717 * isn't computed for inheritance child rels, cf set_append_rel_size().
27182718 * (XXX might be worth changing that sometime.)
27192719 */
2720- pull_varattnos ((Node * )rel -> reltarget . exprs ,rel -> relid ,& attrs_used );
2720+ pull_varattnos ((Node * )rel -> reltarget -> exprs ,rel -> relid ,& attrs_used );
27212721
27222722/* Add all the attributes used by un-pushed-down restriction clauses. */
27232723foreach (lc ,rel -> baserestrictinfo )
@@ -3028,7 +3028,7 @@ debug_print_rel(PlannerInfo *root, RelOptInfo *rel)
30283028
30293029printf ("RELOPTINFO (" );
30303030print_relids (rel -> relids );
3031- printf ("): rows=%.0f width=%d\n" ,rel -> rows ,rel -> reltarget . width );
3031+ printf ("): rows=%.0f width=%d\n" ,rel -> rows ,rel -> reltarget -> width );
30323032
30333033if (rel -> baserestrictinfo )
30343034{