Lines Matching refs:SetOperationStmt

68 static Path *generate_recursion_path(SetOperationStmt *setOp,
72 static Path *generate_union_path(SetOperationStmt *op, PlannerInfo *root,
76 static Path *generate_nonunion_path(SetOperationStmt *op, PlannerInfo *root,
81 SetOperationStmt *top_union,
84 static Path *make_union_unique(SetOperationStmt *op, Path *path, List *tlist,
100 static List *generate_setop_grouplist(SetOperationStmt *op, List *targetlist);
133 SetOperationStmt *topop = (SetOperationStmt *) parse->setOperations; in plan_set_operations()
141 Assert(topop && IsA(topop, SetOperationStmt)); in plan_set_operations()
163 while (node && IsA(node, SetOperationStmt)) in plan_set_operations()
164 node = ((SetOperationStmt *) node)->larg; in plan_set_operations()
370 else if (IsA(setOp, SetOperationStmt)) in recurse_set_operations()
372 SetOperationStmt *op = (SetOperationStmt *) setOp; in recurse_set_operations()
431 generate_recursion_path(SetOperationStmt *setOp, PlannerInfo *root, in generate_recursion_path()
526 generate_union_path(SetOperationStmt *op, PlannerInfo *root, in generate_union_path()
613 generate_nonunion_path(SetOperationStmt *op, PlannerInfo *root, in generate_nonunion_path()
794 SetOperationStmt *top_union, in recurse_union_children()
801 if (IsA(setOp, SetOperationStmt)) in recurse_union_children()
803 SetOperationStmt *op = (SetOperationStmt *) setOp; in recurse_union_children()
850 make_union_unique(SetOperationStmt *op, Path *path, List *tlist, in make_union_unique()
1296 generate_setop_grouplist(SetOperationStmt *op, List *targetlist) in generate_setop_grouplist()