if (rtinfo->dummy)
{
/*
- * It will not be possible to make any effective use of the
- * sj_unique_rels list in this case, and it also won't be
- * important to do so. So just throw the list away to avoid
- * confusing pgpa_plan_walker.
+ * It will not be possible to make any effective use of
+ * the sj_unique_rels list in this case, and it also won't
+ * be important to do so. So just throw the list away to
+ * avoid confusing pgpa_plan_walker.
*/
proot->sj_unique_rels = NIL;
break;
/*
* If has_rtoffset is true, then rtoffset is the offset required to align
- * RTIs for this query level with RTIs from the final, flattened rangetable.
- * If has_rtoffset is false, then this subquery's range table wasn't copied,
- * or was only partially copied, into the final range table. (Note that
- * we can't determine the rtoffset values until the final range table
- * actually exists; before that time, has_rtoffset will be false everywhere
- * except at the top level.)
+ * RTIs for this query level with RTIs from the final, flattened
+ * rangetable. If has_rtoffset is false, then this subquery's range table
+ * wasn't copied, or was only partially copied, into the final range
+ * table. (Note that we can't determine the rtoffset values until the
+ * final range table actually exists; before that time, has_rtoffset will
+ * be false everywhere except at the top level.)
*/
bool has_rtoffset;
Index rtoffset;
/*
* DO_NOT_SCAN advice targets rels that may not be in the flat range table
- * (e.g. MinMaxAgg losers), so we can't use pgpa_compute_rti_from_identifier.
- * Instead, check directly against the do_not_scan_identifiers list.
+ * (e.g. MinMaxAgg losers), so pgpa_compute_rti_from_identifier won't work
+ * here. Instead, check directly against the do_not_scan_identifiers list.
*/
if (tag == PGPA_TAG_DO_NOT_SCAN)
{
* If this PlannerInfo exists to consider an alternative implementation
* strategy for a portion of the query that could also be implemented by
* some other PlannerInfo, this is the plan_name for that other
- * PlannerInfo. When we are considering the first or only alternative,
- * it is the same as plan_name.
+ * PlannerInfo. When we are considering the first or only alternative, it
+ * is the same as plan_name.
*
* Currently, we set this to a value other than plan_name only when
* considering a MinMaxAggPath or a hashed SubPlan.