|
PostgreSQL Source Code git master
|
#include "postgres.h"#include "pgpa_scan.h"#include "pgpa_walker.h"#include "nodes/parsenodes.h"#include "parser/parsetree.h"
Go to the source code of this file.
Functions | |
| static pgpa_scan * | pgpa_make_scan (pgpa_plan_walker_context *walker, Plan *plan, pgpa_scan_strategy strategy, Bitmapset *relids) |
| 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) |
| pgpa_scan * pgpa_build_scan | ( | pgpa_plan_walker_context * | walker, |
| Plan * | plan, | ||
| ElidedNode * | elided_node, | ||
| bool | beneath_any_gather, | ||
| bool | within_join_problem | ||
| ) |
Definition at line 44 of file pgpa_scan.c.
References bms_add_members(), bms_make_singleton(), ElidedNode::elided_type, elog, ERROR, fb(), foreach_node, NIL, nodeTag, pgpa_filter_out_join_relids(), pgpa_make_scan(), pgpa_relids(), PGPA_SCAN_BITMAP_HEAP, PGPA_SCAN_FOREIGN, PGPA_SCAN_INDEX, PGPA_SCAN_INDEX_ONLY, PGPA_SCAN_ORDINARY, PGPA_SCAN_PARTITIONWISE, PGPA_SCAN_SEQ, PGPA_SCAN_TID, pgpa_scanrelid(), plan, ElidedNode::relids, RTE_RELATION, and unique_nonjoin_rtekind().
Referenced by pgpa_build_unrolled_join(), and pgpa_walk_recursively().
|
static |
Definition at line 220 of file pgpa_scan.c.
References fb(), lappend(), palloc(), pgpa_scan::plan, plan, pgpa_scan::relids, and pgpa_scan::strategy.
Referenced by pgpa_build_scan().
Definition at line 242 of file pgpa_scan.c.
References Assert, bms_next_member(), elog, ERROR, fb(), rt_fetch, and RTE_JOIN.
Referenced by pgpa_build_scan().