51 List *child_append_relid_sets =
NIL;
54 if (elided_node !=
NULL)
57 relids = elided_node->
relids;
144 child_append_relid_sets =
156 child_append_relid_sets =
259 rtekind =
rte->rtekind;
262 else if (rtekind !=
rte->rtekind)
263 elog(
ERROR,
"rtekind mismatch: %d vs. %d",
264 rtekind,
rte->rtekind);
268 elog(
ERROR,
"no non-RTE_JOIN RTEs found");
Bitmapset * bms_make_singleton(int x)
int bms_next_member(const Bitmapset *a, int prevbit)
Bitmapset * bms_add_members(Bitmapset *a, const Bitmapset *b)
#define Assert(condition)
List * lappend(List *list, void *datum)
#define rt_fetch(rangetable_index, rangetable)
#define foreach_node(type, var, lst)
static RTEKind unique_nonjoin_rtekind(Bitmapset *relids, List *rtable)
pgpa_scan * pgpa_build_scan(pgpa_plan_walker_context *walker, Plan *plan, ElidedNode *elided_node, bool beneath_any_gather, bool within_join_problem)
static pgpa_scan * pgpa_make_scan(pgpa_plan_walker_context *walker, Plan *plan, pgpa_scan_strategy strategy, Bitmapset *relids)
@ PGPA_SCAN_PARTITIONWISE
Bitmapset * pgpa_filter_out_join_relids(Bitmapset *relids, List *rtable)
Bitmapset * pgpa_relids(Plan *plan)
Index pgpa_scanrelid(Plan *plan)
pgpa_scan_strategy strategy