- COPY_NODE_FIELD(in_info_list);
- COPY_SCALAR_FIELD(hasJoinRTEs);
- COPY_SCALAR_FIELD(hasHavingQual);
-
- /*
- * We do not copy the other planner internal fields: base_rel_list,
- * other_rel_list, join_rel_list, equi_key_list, query_pathkeys. That
- * would get us into copying RelOptInfo/Path trees, which we don't
- * want to do. It is necessary to copy in_info_list, hasJoinRTEs,
- * and hasHavingQual for the benefit of inheritance_planner(), which
- * may try to copy a Query in which these are already set.
- */