Home
last modified time | relevance | path

Searched refs:SetOperationStmt (Results 26 – 50 of 722) sorted by relevance

12345678910>>...29

/dports/databases/postgresql96-plperl/postgresql-9.6.24/src/backend/optimizer/prep/
H A Dprepunion.c68 static Path *generate_recursion_path(SetOperationStmt *setOp,
81 SetOperationStmt *top_union,
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()
794 SetOperationStmt *top_union, in recurse_union_children()
801 if (IsA(setOp, SetOperationStmt)) in recurse_union_children()
[all …]
H A Dprepjointree.c1377 else if (IsA(setOp, SetOperationStmt)) in pull_up_union_leaf_queries()
1379 SetOperationStmt *op = (SetOperationStmt *) setOp; in pull_up_union_leaf_queries()
1780 SetOperationStmt *topop; in is_simple_union_all()
1789 topop = (SetOperationStmt *) subquery->setOperations; in is_simple_union_all()
1792 Assert(IsA(topop, SetOperationStmt)); in is_simple_union_all()
1822 else if (IsA(setOp, SetOperationStmt)) in is_simple_union_all_recurse()
1824 SetOperationStmt *op = (SetOperationStmt *) setOp; in is_simple_union_all_recurse()
2355 SetOperationStmt *topop; in flatten_simple_union_all()
2364 topop = (SetOperationStmt *) parse->setOperations; in flatten_simple_union_all()
2365 Assert(topop && IsA(topop, SetOperationStmt)); in flatten_simple_union_all()
[all …]
/dports/databases/postgresql96-docs/postgresql-9.6.24/src/backend/optimizer/prep/
H A Dprepunion.c68 static Path *generate_recursion_path(SetOperationStmt *setOp,
81 SetOperationStmt *top_union,
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()
794 SetOperationStmt *top_union, in recurse_union_children()
801 if (IsA(setOp, SetOperationStmt)) in recurse_union_children()
[all …]
H A Dprepjointree.c1377 else if (IsA(setOp, SetOperationStmt)) in pull_up_union_leaf_queries()
1379 SetOperationStmt *op = (SetOperationStmt *) setOp; in pull_up_union_leaf_queries()
1780 SetOperationStmt *topop; in is_simple_union_all()
1789 topop = (SetOperationStmt *) subquery->setOperations; in is_simple_union_all()
1792 Assert(IsA(topop, SetOperationStmt)); in is_simple_union_all()
1822 else if (IsA(setOp, SetOperationStmt)) in is_simple_union_all_recurse()
1824 SetOperationStmt *op = (SetOperationStmt *) setOp; in is_simple_union_all_recurse()
2355 SetOperationStmt *topop; in flatten_simple_union_all()
2364 topop = (SetOperationStmt *) parse->setOperations; in flatten_simple_union_all()
2365 Assert(topop && IsA(topop, SetOperationStmt)); in flatten_simple_union_all()
[all …]
/dports/databases/postgresql96-contrib/postgresql-9.6.24/src/backend/optimizer/prep/
H A Dprepunion.c68 static Path *generate_recursion_path(SetOperationStmt *setOp,
81 SetOperationStmt *top_union,
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()
794 SetOperationStmt *top_union, in recurse_union_children()
801 if (IsA(setOp, SetOperationStmt)) in recurse_union_children()
[all …]
H A Dprepjointree.c1377 else if (IsA(setOp, SetOperationStmt)) in pull_up_union_leaf_queries()
1379 SetOperationStmt *op = (SetOperationStmt *) setOp; in pull_up_union_leaf_queries()
1780 SetOperationStmt *topop; in is_simple_union_all()
1789 topop = (SetOperationStmt *) subquery->setOperations; in is_simple_union_all()
1792 Assert(IsA(topop, SetOperationStmt)); in is_simple_union_all()
1822 else if (IsA(setOp, SetOperationStmt)) in is_simple_union_all_recurse()
1824 SetOperationStmt *op = (SetOperationStmt *) setOp; in is_simple_union_all_recurse()
2355 SetOperationStmt *topop; in flatten_simple_union_all()
2364 topop = (SetOperationStmt *) parse->setOperations; in flatten_simple_union_all()
2365 Assert(topop && IsA(topop, SetOperationStmt)); in flatten_simple_union_all()
[all …]
/dports/databases/postgresql10-plperl/postgresql-10.19/src/backend/optimizer/prep/
H A Dprepunion.c67 static Path *generate_recursion_path(SetOperationStmt *setOp,
80 SetOperationStmt *top_union,
132 SetOperationStmt *topop = castNode(SetOperationStmt, parse->setOperations); in plan_set_operations()
162 while (node && IsA(node, SetOperationStmt)) in plan_set_operations()
163 node = ((SetOperationStmt *) node)->larg; in plan_set_operations()
369 else if (IsA(setOp, SetOperationStmt)) in recurse_set_operations()
371 SetOperationStmt *op = (SetOperationStmt *) setOp; in recurse_set_operations()
525 generate_union_path(SetOperationStmt *op, PlannerInfo *root, in generate_union_path()
785 SetOperationStmt *top_union, in recurse_union_children()
792 if (IsA(setOp, SetOperationStmt)) in recurse_union_children()
[all …]
H A Dprepjointree.c1383 else if (IsA(setOp, SetOperationStmt)) in pull_up_union_leaf_queries()
1385 SetOperationStmt *op = (SetOperationStmt *) setOp; in pull_up_union_leaf_queries()
1777 SetOperationStmt *topop; in is_simple_union_all()
1785 topop = castNode(SetOperationStmt, subquery->setOperations); in is_simple_union_all()
1817 else if (IsA(setOp, SetOperationStmt)) in is_simple_union_all_recurse()
1819 SetOperationStmt *op = (SetOperationStmt *) setOp; in is_simple_union_all_recurse()
2356 SetOperationStmt *topop; in flatten_simple_union_all()
2365 topop = castNode(SetOperationStmt, parse->setOperations); in flatten_simple_union_all()
2384 while (leftmostjtnode && IsA(leftmostjtnode, SetOperationStmt)) in flatten_simple_union_all()
2385 leftmostjtnode = ((SetOperationStmt *) leftmostjtnode)->larg; in flatten_simple_union_all()
/dports/databases/postgresql10-pltcl/postgresql-10.19/src/backend/optimizer/prep/
H A Dprepunion.c67 static Path *generate_recursion_path(SetOperationStmt *setOp,
80 SetOperationStmt *top_union,
132 SetOperationStmt *topop = castNode(SetOperationStmt, parse->setOperations); in plan_set_operations()
162 while (node && IsA(node, SetOperationStmt)) in plan_set_operations()
163 node = ((SetOperationStmt *) node)->larg; in plan_set_operations()
369 else if (IsA(setOp, SetOperationStmt)) in recurse_set_operations()
371 SetOperationStmt *op = (SetOperationStmt *) setOp; in recurse_set_operations()
525 generate_union_path(SetOperationStmt *op, PlannerInfo *root, in generate_union_path()
785 SetOperationStmt *top_union, in recurse_union_children()
792 if (IsA(setOp, SetOperationStmt)) in recurse_union_children()
[all …]
/dports/databases/postgresql10-server/postgresql-10.19/src/backend/optimizer/prep/
H A Dprepunion.c67 static Path *generate_recursion_path(SetOperationStmt *setOp,
80 SetOperationStmt *top_union,
132 SetOperationStmt *topop = castNode(SetOperationStmt, parse->setOperations); in plan_set_operations()
162 while (node && IsA(node, SetOperationStmt)) in plan_set_operations()
163 node = ((SetOperationStmt *) node)->larg; in plan_set_operations()
369 else if (IsA(setOp, SetOperationStmt)) in recurse_set_operations()
371 SetOperationStmt *op = (SetOperationStmt *) setOp; in recurse_set_operations()
525 generate_union_path(SetOperationStmt *op, PlannerInfo *root, in generate_union_path()
785 SetOperationStmt *top_union, in recurse_union_children()
792 if (IsA(setOp, SetOperationStmt)) in recurse_union_children()
[all …]
/dports/databases/postgresql10-docs/postgresql-10.19/src/backend/optimizer/prep/
H A Dprepunion.c67 static Path *generate_recursion_path(SetOperationStmt *setOp,
80 SetOperationStmt *top_union,
132 SetOperationStmt *topop = castNode(SetOperationStmt, parse->setOperations); in plan_set_operations()
162 while (node && IsA(node, SetOperationStmt)) in plan_set_operations()
163 node = ((SetOperationStmt *) node)->larg; in plan_set_operations()
369 else if (IsA(setOp, SetOperationStmt)) in recurse_set_operations()
371 SetOperationStmt *op = (SetOperationStmt *) setOp; in recurse_set_operations()
525 generate_union_path(SetOperationStmt *op, PlannerInfo *root, in generate_union_path()
785 SetOperationStmt *top_union, in recurse_union_children()
792 if (IsA(setOp, SetOperationStmt)) in recurse_union_children()
[all …]
/dports/databases/postgresql10-client/postgresql-10.19/src/backend/optimizer/prep/
H A Dprepunion.c67 static Path *generate_recursion_path(SetOperationStmt *setOp,
80 SetOperationStmt *top_union,
132 SetOperationStmt *topop = castNode(SetOperationStmt, parse->setOperations); in plan_set_operations()
162 while (node && IsA(node, SetOperationStmt)) in plan_set_operations()
163 node = ((SetOperationStmt *) node)->larg; in plan_set_operations()
369 else if (IsA(setOp, SetOperationStmt)) in recurse_set_operations()
371 SetOperationStmt *op = (SetOperationStmt *) setOp; in recurse_set_operations()
525 generate_union_path(SetOperationStmt *op, PlannerInfo *root, in generate_union_path()
785 SetOperationStmt *top_union, in recurse_union_children()
792 if (IsA(setOp, SetOperationStmt)) in recurse_union_children()
[all …]
/dports/databases/postgresql10-contrib/postgresql-10.19/src/backend/optimizer/prep/
H A Dprepunion.c67 static Path *generate_recursion_path(SetOperationStmt *setOp,
80 SetOperationStmt *top_union,
132 SetOperationStmt *topop = castNode(SetOperationStmt, parse->setOperations); in plan_set_operations()
162 while (node && IsA(node, SetOperationStmt)) in plan_set_operations()
163 node = ((SetOperationStmt *) node)->larg; in plan_set_operations()
369 else if (IsA(setOp, SetOperationStmt)) in recurse_set_operations()
371 SetOperationStmt *op = (SetOperationStmt *) setOp; in recurse_set_operations()
525 generate_union_path(SetOperationStmt *op, PlannerInfo *root, in generate_union_path()
785 SetOperationStmt *top_union, in recurse_union_children()
792 if (IsA(setOp, SetOperationStmt)) in recurse_union_children()
[all …]
/dports/databases/postgresql10-plpython/postgresql-10.19/src/backend/optimizer/prep/
H A Dprepunion.c67 static Path *generate_recursion_path(SetOperationStmt *setOp,
80 SetOperationStmt *top_union,
132 SetOperationStmt *topop = castNode(SetOperationStmt, parse->setOperations); in plan_set_operations()
162 while (node && IsA(node, SetOperationStmt)) in plan_set_operations()
163 node = ((SetOperationStmt *) node)->larg; in plan_set_operations()
369 else if (IsA(setOp, SetOperationStmt)) in recurse_set_operations()
371 SetOperationStmt *op = (SetOperationStmt *) setOp; in recurse_set_operations()
525 generate_union_path(SetOperationStmt *op, PlannerInfo *root, in generate_union_path()
785 SetOperationStmt *top_union, in recurse_union_children()
792 if (IsA(setOp, SetOperationStmt)) in recurse_union_children()
[all …]
/dports/databases/postgresql11-client/postgresql-11.14/src/backend/optimizer/prep/
H A Dprepunion.c69 static RelOptInfo *generate_recursion_path(SetOperationStmt *setOp,
80 SetOperationStmt *top_union,
145 SetOperationStmt *topop = castNode(SetOperationStmt, parse->setOperations); in plan_set_operations()
180 while (node && IsA(node, SetOperationStmt)) in plan_set_operations()
181 node = ((SetOperationStmt *) node)->larg; in plan_set_operations()
380 else if (IsA(setOp, SetOperationStmt)) in recurse_set_operations()
382 SetOperationStmt *op = (SetOperationStmt *) setOp; in recurse_set_operations()
575 generate_union_paths(SetOperationStmt *op, PlannerInfo *root, in generate_union_paths()
912 SetOperationStmt *top_union, in plan_union_children()
928 if (IsA(setOp, SetOperationStmt)) in plan_union_children()
[all …]
/dports/databases/postgresql11-plperl/postgresql-11.14/src/backend/optimizer/prep/
H A Dprepunion.c69 static RelOptInfo *generate_recursion_path(SetOperationStmt *setOp,
80 SetOperationStmt *top_union,
145 SetOperationStmt *topop = castNode(SetOperationStmt, parse->setOperations); in plan_set_operations()
180 while (node && IsA(node, SetOperationStmt)) in plan_set_operations()
181 node = ((SetOperationStmt *) node)->larg; in plan_set_operations()
380 else if (IsA(setOp, SetOperationStmt)) in recurse_set_operations()
382 SetOperationStmt *op = (SetOperationStmt *) setOp; in recurse_set_operations()
575 generate_union_paths(SetOperationStmt *op, PlannerInfo *root, in generate_union_paths()
912 SetOperationStmt *top_union, in plan_union_children()
928 if (IsA(setOp, SetOperationStmt)) in plan_union_children()
[all …]
/dports/databases/postgresql11-docs/postgresql-11.14/src/backend/optimizer/prep/
H A Dprepunion.c69 static RelOptInfo *generate_recursion_path(SetOperationStmt *setOp,
80 SetOperationStmt *top_union,
145 SetOperationStmt *topop = castNode(SetOperationStmt, parse->setOperations); in plan_set_operations()
180 while (node && IsA(node, SetOperationStmt)) in plan_set_operations()
181 node = ((SetOperationStmt *) node)->larg; in plan_set_operations()
380 else if (IsA(setOp, SetOperationStmt)) in recurse_set_operations()
382 SetOperationStmt *op = (SetOperationStmt *) setOp; in recurse_set_operations()
575 generate_union_paths(SetOperationStmt *op, PlannerInfo *root, in generate_union_paths()
912 SetOperationStmt *top_union, in plan_union_children()
928 if (IsA(setOp, SetOperationStmt)) in plan_union_children()
[all …]
/dports/databases/postgresql11-contrib/postgresql-11.14/src/backend/optimizer/prep/
H A Dprepunion.c69 static RelOptInfo *generate_recursion_path(SetOperationStmt *setOp,
80 SetOperationStmt *top_union,
145 SetOperationStmt *topop = castNode(SetOperationStmt, parse->setOperations); in plan_set_operations()
180 while (node && IsA(node, SetOperationStmt)) in plan_set_operations()
181 node = ((SetOperationStmt *) node)->larg; in plan_set_operations()
380 else if (IsA(setOp, SetOperationStmt)) in recurse_set_operations()
382 SetOperationStmt *op = (SetOperationStmt *) setOp; in recurse_set_operations()
575 generate_union_paths(SetOperationStmt *op, PlannerInfo *root, in generate_union_paths()
912 SetOperationStmt *top_union, in plan_union_children()
928 if (IsA(setOp, SetOperationStmt)) in plan_union_children()
[all …]
/dports/databases/postgresql11-server/postgresql-11.14/src/backend/optimizer/prep/
H A Dprepunion.c69 static RelOptInfo *generate_recursion_path(SetOperationStmt *setOp,
80 SetOperationStmt *top_union,
145 SetOperationStmt *topop = castNode(SetOperationStmt, parse->setOperations);
180 while (node && IsA(node, SetOperationStmt))
181 node = ((SetOperationStmt *) node)->larg;
380 else if (IsA(setOp, SetOperationStmt))
382 SetOperationStmt *op = (SetOperationStmt *) setOp;
575 generate_union_paths(SetOperationStmt *op, PlannerInfo *root,
912 SetOperationStmt *top_union,
928 if (IsA(setOp, SetOperationStmt))
[all …]
/dports/databases/postgresql11-pltcl/postgresql-11.14/src/backend/optimizer/prep/
H A Dprepunion.c69 static RelOptInfo *generate_recursion_path(SetOperationStmt *setOp,
80 SetOperationStmt *top_union,
145 SetOperationStmt *topop = castNode(SetOperationStmt, parse->setOperations); in plan_set_operations()
180 while (node && IsA(node, SetOperationStmt)) in plan_set_operations()
181 node = ((SetOperationStmt *) node)->larg; in plan_set_operations()
380 else if (IsA(setOp, SetOperationStmt)) in recurse_set_operations()
382 SetOperationStmt *op = (SetOperationStmt *) setOp; in recurse_set_operations()
575 generate_union_paths(SetOperationStmt *op, PlannerInfo *root, in generate_union_paths()
912 SetOperationStmt *top_union, in plan_union_children()
928 if (IsA(setOp, SetOperationStmt)) in plan_union_children()
[all …]
/dports/databases/postgresql11-plpython/postgresql-11.14/src/backend/optimizer/prep/
H A Dprepunion.c69 static RelOptInfo *generate_recursion_path(SetOperationStmt *setOp,
80 SetOperationStmt *top_union,
145 SetOperationStmt *topop = castNode(SetOperationStmt, parse->setOperations); in plan_set_operations()
180 while (node && IsA(node, SetOperationStmt)) in plan_set_operations()
181 node = ((SetOperationStmt *) node)->larg; in plan_set_operations()
380 else if (IsA(setOp, SetOperationStmt)) in recurse_set_operations()
382 SetOperationStmt *op = (SetOperationStmt *) setOp; in recurse_set_operations()
575 generate_union_paths(SetOperationStmt *op, PlannerInfo *root, in generate_union_paths()
912 SetOperationStmt *top_union, in plan_union_children()
928 if (IsA(setOp, SetOperationStmt)) in plan_union_children()
[all …]
/dports/databases/postgresql96-server/postgresql-9.6.24/src/backend/optimizer/prep/
H A Dprepjointree.c1377 else if (IsA(setOp, SetOperationStmt)) in pull_up_union_leaf_queries()
1379 SetOperationStmt *op = (SetOperationStmt *) setOp; in pull_up_union_leaf_queries()
1780 SetOperationStmt *topop; in is_simple_union_all()
1789 topop = (SetOperationStmt *) subquery->setOperations; in is_simple_union_all()
1792 Assert(IsA(topop, SetOperationStmt)); in is_simple_union_all()
1822 else if (IsA(setOp, SetOperationStmt)) in is_simple_union_all_recurse()
1824 SetOperationStmt *op = (SetOperationStmt *) setOp; in is_simple_union_all_recurse()
2355 SetOperationStmt *topop; in flatten_simple_union_all()
2364 topop = (SetOperationStmt *) parse->setOperations; in flatten_simple_union_all()
2365 Assert(topop && IsA(topop, SetOperationStmt)); in flatten_simple_union_all()
[all …]
/dports/databases/postgresql96-plpython/postgresql-9.6.24/src/backend/optimizer/prep/
H A Dprepjointree.c1377 else if (IsA(setOp, SetOperationStmt)) in pull_up_union_leaf_queries()
1379 SetOperationStmt *op = (SetOperationStmt *) setOp; in pull_up_union_leaf_queries()
1780 SetOperationStmt *topop; in is_simple_union_all()
1789 topop = (SetOperationStmt *) subquery->setOperations; in is_simple_union_all()
1792 Assert(IsA(topop, SetOperationStmt)); in is_simple_union_all()
1822 else if (IsA(setOp, SetOperationStmt)) in is_simple_union_all_recurse()
1824 SetOperationStmt *op = (SetOperationStmt *) setOp; in is_simple_union_all_recurse()
2355 SetOperationStmt *topop; in flatten_simple_union_all()
2364 topop = (SetOperationStmt *) parse->setOperations; in flatten_simple_union_all()
2365 Assert(topop && IsA(topop, SetOperationStmt)); in flatten_simple_union_all()
[all …]
/dports/databases/postgresql96-pltcl/postgresql-9.6.24/src/backend/optimizer/prep/
H A Dprepjointree.c1377 else if (IsA(setOp, SetOperationStmt)) in pull_up_union_leaf_queries()
1379 SetOperationStmt *op = (SetOperationStmt *) setOp; in pull_up_union_leaf_queries()
1780 SetOperationStmt *topop; in is_simple_union_all()
1789 topop = (SetOperationStmt *) subquery->setOperations; in is_simple_union_all()
1792 Assert(IsA(topop, SetOperationStmt)); in is_simple_union_all()
1822 else if (IsA(setOp, SetOperationStmt)) in is_simple_union_all_recurse()
1824 SetOperationStmt *op = (SetOperationStmt *) setOp; in is_simple_union_all_recurse()
2355 SetOperationStmt *topop; in flatten_simple_union_all()
2364 topop = (SetOperationStmt *) parse->setOperations; in flatten_simple_union_all()
2365 Assert(topop && IsA(topop, SetOperationStmt)); in flatten_simple_union_all()
[all …]
/dports/databases/postgresql96-client/postgresql-9.6.24/src/backend/optimizer/prep/
H A Dprepjointree.c1377 else if (IsA(setOp, SetOperationStmt)) in pull_up_union_leaf_queries()
1379 SetOperationStmt *op = (SetOperationStmt *) setOp; in pull_up_union_leaf_queries()
1780 SetOperationStmt *topop; in is_simple_union_all()
1789 topop = (SetOperationStmt *) subquery->setOperations; in is_simple_union_all()
1792 Assert(IsA(topop, SetOperationStmt)); in is_simple_union_all()
1822 else if (IsA(setOp, SetOperationStmt)) in is_simple_union_all_recurse()
1824 SetOperationStmt *op = (SetOperationStmt *) setOp; in is_simple_union_all_recurse()
2355 SetOperationStmt *topop; in flatten_simple_union_all()
2364 topop = (SetOperationStmt *) parse->setOperations; in flatten_simple_union_all()
2365 Assert(topop && IsA(topop, SetOperationStmt)); in flatten_simple_union_all()
[all …]

12345678910>>...29