*
* This could possibly be fixed by using some sort of internally
* generated ID, instead of names, to link CTE RTEs to their CTEs.
- * However, decompiling the results would be quite confusing; note the
- * merge of hasRecursive flags below, which could change the apparent
- * semantics of such redundantly-named CTEs.
*/
foreach(lc, parsetree->cteList)
{
/* OK, it's safe to combine the CTE lists */
sub_action->cteList = list_concat(sub_action->cteList,
copyObject(parsetree->cteList));
- /* ... and don't forget about the associated flags */
- sub_action->hasRecursive |= parsetree->hasRecursive;
- sub_action->hasModifyingCTE |= parsetree->hasModifyingCTE;
}
/*