#include <relation.h>
Data Fields | |
NodeTag | type |
RelOptKind | reloptkind |
Relids | relids |
double | rows |
int | width |
bool | consider_startup |
List * | reltargetlist |
List * | pathlist |
List * | ppilist |
struct Path * | cheapest_startup_path |
struct Path * | cheapest_total_path |
struct Path * | cheapest_unique_path |
List * | cheapest_parameterized_paths |
Index | relid |
Oid | reltablespace |
RTEKind | rtekind |
AttrNumber | min_attr |
AttrNumber | max_attr |
Relids * | attr_needed |
int32 * | attr_widths |
List * | lateral_vars |
Relids | lateral_relids |
List * | indexlist |
BlockNumber | pages |
double | tuples |
double | allvisfrac |
struct Plan * | subplan |
PlannerInfo * | subroot |
List * | subplan_params |
struct FdwRoutine * | fdwroutine |
void * | fdw_private |
List * | baserestrictinfo |
QualCost | baserestrictcost |
List * | joininfo |
bool | has_eclass_joins |
Definition at line 400 of file relation.h.
double RelOptInfo::allvisfrac |
Definition at line 438 of file relation.h.
Referenced by build_join_rel(), build_simple_rel(), cost_index(), and get_relation_info().
Definition at line 431 of file relation.h.
Referenced by add_vars_to_targetlist(), build_join_rel(), build_joinrel_tlist(), build_simple_rel(), create_foreignscan_plan(), get_relation_info(), join_is_removable(), remove_rel_from_query(), and use_physical_tlist().
Definition at line 432 of file relation.h.
Referenced by build_join_rel(), build_joinrel_tlist(), build_simple_rel(), get_relation_info(), set_append_rel_size(), set_rel_width(), and set_subquery_size_estimates().
Definition at line 450 of file relation.h.
Referenced by build_join_rel(), build_simple_rel(), cost_tidscan(), estimate_costs(), estimate_path_cost_size(), get_restriction_qual_cost(), set_baserel_size_estimates(), and set_foreign_size_estimates().
Definition at line 448 of file relation.h.
Referenced by build_join_rel(), build_simple_rel(), check_index_only(), check_partial_indexes(), check_selective_binary_conversion(), classifyConditions(), cost_index(), create_index_paths(), create_or_index_quals(), create_scan_plan(), create_tidscan_paths(), distribute_restrictinfo_to_rels(), estimate_size(), get_parameterized_baserel_size(), match_restriction_clauses_to_index(), relation_excluded_by_constraints(), relation_has_unique_index_for(), set_append_rel_size(), set_baserel_size_estimates(), set_foreign_size_estimates(), and set_subquery_pathlist().
Definition at line 423 of file relation.h.
Referenced by build_join_rel(), build_simple_rel(), hash_inner_and_outer(), match_unsorted_outer(), and set_cheapest().
Definition at line 420 of file relation.h.
Referenced by build_join_rel(), build_simple_rel(), hash_inner_and_outer(), and set_cheapest().
struct Path* RelOptInfo::cheapest_total_path |
Definition at line 421 of file relation.h.
Referenced by build_join_rel(), build_simple_rel(), create_unique_path(), generate_mergeappend_paths(), geqo_eval(), hash_inner_and_outer(), join_is_legal(), make_join_rel(), match_unsorted_outer(), query_planner(), set_append_rel_pathlist(), set_cheapest(), and sort_inner_and_outer().
struct Path* RelOptInfo::cheapest_unique_path |
Definition at line 422 of file relation.h.
Referenced by build_join_rel(), build_simple_rel(), create_unique_path(), and set_cheapest().
Definition at line 414 of file relation.h.
Referenced by add_path(), build_join_rel(), and build_simple_rel().
void* RelOptInfo::fdw_private |
Definition at line 445 of file relation.h.
Referenced by build_join_rel(), build_simple_rel(), estimate_path_cost_size(), fileGetForeignPaths(), fileGetForeignRelSize(), postgresGetForeignPaths(), postgresGetForeignPlan(), and postgresGetForeignRelSize().
struct FdwRoutine* RelOptInfo::fdwroutine |
Definition at line 444 of file relation.h.
Referenced by build_join_rel(), build_simple_rel(), create_foreignscan_plan(), get_relation_info(), make_modifytable(), set_foreign_pathlist(), and set_foreign_size().
Definition at line 453 of file relation.h.
Referenced by build_join_rel(), build_simple_rel(), generate_base_implied_equalities(), has_useful_pathkeys(), have_relevant_joinclause(), join_search_one_level(), match_eclass_clauses_to_index(), pathkeys_useful_for_merging(), postgresGetForeignPaths(), and set_append_rel_size().
Definition at line 435 of file relation.h.
Referenced by build_join_rel(), build_paths_for_OR(), build_simple_rel(), check_partial_indexes(), create_index_paths(), create_or_index_quals(), examine_variable(), get_actual_variable_range(), get_relation_info(), has_unique_index(), join_is_removable(), plan_cluster_use_sort(), and relation_has_unique_index_for().
Definition at line 451 of file relation.h.
Referenced by add_join_clause_to_rels(), build_join_rel(), build_joinrel_joinlist(), build_joinrel_restrictlist(), build_simple_rel(), check_partial_indexes(), create_or_index_quals(), get_baserel_parampathinfo(), get_joinrel_parampathinfo(), has_useful_pathkeys(), have_relevant_joinclause(), join_is_removable(), join_search_one_level(), match_join_clauses_to_index(), pathkeys_useful_for_merging(), postgresGetForeignPaths(), remove_join_clause_from_rels(), remove_rel_from_query(), and set_append_rel_size().
Definition at line 434 of file relation.h.
Referenced by build_index_paths(), build_join_rel(), build_simple_rel(), create_index_paths(), create_lateral_join_info(), create_tidscan_paths(), postgresGetForeignPaths(), set_cte_pathlist(), set_function_pathlist(), set_plain_rel_pathlist(), set_subquery_pathlist(), set_values_pathlist(), and set_worktable_pathlist().
Definition at line 433 of file relation.h.
Referenced by build_join_rel(), build_simple_rel(), create_lateral_join_info(), and extract_lateral_references().
Definition at line 430 of file relation.h.
Referenced by build_join_rel(), build_simple_rel(), get_relation_info(), join_is_removable(), remove_rel_from_query(), set_append_rel_size(), set_rel_width(), and set_subquery_size_estimates().
Definition at line 429 of file relation.h.
Referenced by add_vars_to_targetlist(), build_join_rel(), build_joinrel_tlist(), build_simple_rel(), create_foreignscan_plan(), get_relation_info(), join_is_removable(), remove_rel_from_query(), set_append_rel_size(), set_rel_width(), set_subquery_size_estimates(), and use_physical_tlist().
Definition at line 436 of file relation.h.
Referenced by build_join_rel(), build_simple_rel(), cost_bitmap_heap_scan(), cost_index(), cost_seqscan(), estimate_path_cost_size(), estimate_size(), get_relation_info(), plan_cluster_use_sort(), postgresGetForeignRelSize(), and query_planner().
Definition at line 418 of file relation.h.
Referenced by add_path(), add_path_precheck(), build_join_rel(), build_simple_rel(), generate_mergeappend_paths(), make_join_rel(), mark_dummy_rel(), match_unsorted_outer(), query_planner(), set_append_rel_pathlist(), set_cheapest(), and set_dummy_rel_pathlist().
Definition at line 419 of file relation.h.
Referenced by build_join_rel(), build_simple_rel(), get_appendrel_parampathinfo(), get_baserel_parampathinfo(), and get_joinrel_parampathinfo().
Definition at line 426 of file relation.h.
Referenced by adjust_rowcompare_for_index(), btcostestimate(), build_index_paths(), build_index_tlist(), build_join_rel(), build_physical_tlist(), build_simple_rel(), check_index_only(), check_partial_indexes(), check_selective_binary_conversion(), convert_subquery_pathkeys(), cost_bitmap_heap_scan(), cost_ctescan(), cost_functionscan(), cost_index(), cost_seqscan(), cost_subqueryscan(), cost_tidscan(), cost_valuesscan(), create_append_plan(), create_bitmap_scan_plan(), create_ctescan_plan(), create_foreignscan_plan(), create_functionscan_plan(), create_index_paths(), create_indexscan_plan(), create_lateral_join_info(), create_or_index_quals(), create_seqscan_plan(), create_subqueryscan_plan(), create_tidscan_paths(), create_tidscan_plan(), create_unique_path(), create_valuesscan_plan(), create_worktablescan_plan(), deparseSelectSql(), deparseVar(), fileGetForeignPlan(), find_childrel_appendrelinfo(), find_lateral_references(), fix_indexqual_operand(), foreign_expr_walker(), genericcostestimate(), get_actual_variable_range(), get_loop_count(), get_parameterized_baserel_size(), get_relation_constraints(), get_relation_info(), gincostestimate(), make_one_rel(), match_clause_to_indexcol(), match_index_to_operand(), match_join_clauses_to_index(), match_rowcompare_to_indexcol(), postgresGetForeignPaths(), postgresGetForeignPlan(), postgresGetForeignRelSize(), query_planner(), relation_excluded_by_constraints(), remove_rel_from_query(), set_append_rel_size(), set_base_rel_pathlists(), set_base_rel_sizes(), set_baserel_size_estimates(), set_cte_size_estimates(), set_foreign_size_estimates(), set_function_size_estimates(), set_rel_width(), set_subquery_size_estimates(), and set_values_size_estimates().
Definition at line 407 of file relation.h.
Referenced by _outPathInfo(), add_child_rel_equivalences(), add_paths_to_joinrel(), add_placeholders_to_joinrel(), approx_tuple_count(), build_index_pathkeys(), build_join_rel(), build_join_rel_hash(), build_joinrel_restrictlist(), build_joinrel_tlist(), build_simple_rel(), calc_nestloop_required_outer(), calc_non_nestloop_required_outer(), check_partial_indexes(), clause_sides_match_join(), compute_semi_anti_join_factors(), convert_subquery_pathkeys(), create_hashjoin_plan(), create_join_plan(), create_merge_append_path(), create_merge_append_plan(), create_mergejoin_plan(), create_nestloop_path(), create_nestloop_plan(), create_unique_path(), drop_indexable_join_clauses(), eclass_useful_for_merging(), final_cost_hashjoin(), find_join_rel(), fix_indexqual_references(), generate_implied_equalities_for_column(), generate_join_implied_equalities(), get_appendrel_parampathinfo(), get_baserel_parampathinfo(), get_join_variables(), get_joinrel_parampathinfo(), has_indexed_join_quals(), has_join_restriction(), has_legal_joinclause(), has_relevant_eclass_joinclause(), have_join_order_restriction(), have_relevant_eclass_joinclause(), have_relevant_joinclause(), initial_cost_mergejoin(), join_is_legal(), join_is_removable(), join_search_one_level(), make_join_rel(), make_one_rel(), make_rels_by_clause_joins(), make_rels_by_clauseless_joins(), match_pathkeys_to_index(), select_outer_pathkeys_for_merge(), subbuild_joinrel_joinlist(), subbuild_joinrel_restrictlist(), and use_physical_tlist().
Definition at line 404 of file relation.h.
Referenced by build_join_rel(), build_simple_rel(), check_partial_indexes(), create_lateral_join_info(), create_scan_plan(), estimate_num_groups(), find_childrel_appendrelinfo(), find_lateral_references(), generate_implied_equalities_for_column(), generate_join_implied_equalities(), has_multiple_baserels(), join_is_removable(), make_one_rel(), query_planner(), relation_excluded_by_constraints(), remove_rel_from_query(), set_append_rel_size(), set_base_rel_pathlists(), set_base_rel_sizes(), set_rel_size(), and use_physical_tlist().
Definition at line 427 of file relation.h.
Referenced by cost_bitmap_heap_scan(), cost_index(), cost_seqscan(), cost_tidscan(), and get_relation_info().
Definition at line 417 of file relation.h.
Referenced by add_placeholders_to_base_rels(), add_placeholders_to_joinrel(), add_vars_to_targetlist(), build_join_rel(), build_joinrel_tlist(), build_relation_tlist(), build_simple_rel(), check_index_only(), check_selective_binary_conversion(), postgresGetForeignRelSize(), set_append_rel_size(), and set_rel_width().
double RelOptInfo::rows |
Definition at line 410 of file relation.h.
Referenced by build_join_rel(), build_minmax_path(), build_simple_rel(), compute_semi_anti_join_factors(), cost_bitmap_heap_scan(), cost_ctescan(), cost_functionscan(), cost_index(), cost_seqscan(), cost_subqueryscan(), cost_tidscan(), cost_valuesscan(), create_unique_path(), eqjoinsel_semi(), estimate_hash_bucketsize(), estimate_num_groups(), estimate_path_cost_size(), estimate_size(), fileGetForeignPaths(), final_cost_hashjoin(), final_cost_mergejoin(), final_cost_nestloop(), get_loop_count(), get_parameterized_baserel_size(), get_parameterized_joinrel_size(), grouping_planner(), mark_dummy_rel(), optimize_minmax_aggregates(), plan_cluster_use_sort(), postgresGetForeignRelSize(), query_planner(), set_append_rel_size(), set_baserel_size_estimates(), set_dummy_rel_pathlist(), set_foreign_size_estimates(), and set_joinrel_size_estimates().
Definition at line 428 of file relation.h.
Referenced by build_join_rel(), build_simple_rel(), cost_bitmap_heap_scan(), cost_ctescan(), cost_index(), cost_seqscan(), cost_subqueryscan(), cost_tidscan(), cost_valuesscan(), create_append_plan(), create_bitmap_scan_plan(), create_foreignscan_plan(), create_indexscan_plan(), create_seqscan_plan(), create_subqueryscan_plan(), create_tidscan_plan(), create_unique_path(), join_is_removable(), set_rel_pathlist(), set_rel_size(), and use_physical_tlist().
struct Plan* RelOptInfo::subplan |
Definition at line 440 of file relation.h.
Referenced by build_join_rel(), build_simple_rel(), convert_subquery_pathkeys(), cost_subqueryscan(), create_append_plan(), create_subqueryscan_plan(), recurse_set_operations(), set_subquery_pathlist(), set_subquery_size_estimates(), and set_subqueryscan_references().
Definition at line 442 of file relation.h.
Referenced by build_join_rel(), build_simple_rel(), create_subqueryscan_plan(), and set_subquery_pathlist().
Definition at line 441 of file relation.h.
Referenced by build_join_rel(), build_simple_rel(), examine_simple_variable(), recurse_set_operations(), set_subquery_pathlist(), set_subquery_size_estimates(), and set_subqueryscan_references().
double RelOptInfo::tuples |
Definition at line 437 of file relation.h.
Referenced by btcostestimate(), build_join_rel(), build_simple_rel(), clause_selectivity(), cost_bitmap_heap_scan(), cost_ctescan(), cost_functionscan(), cost_index(), cost_seqscan(), cost_subqueryscan(), cost_valuesscan(), create_bitmap_subplan(), create_merge_append_path(), estimate_hash_bucketsize(), estimate_num_groups(), estimate_path_cost_size(), estimate_size(), genericcostestimate(), get_parameterized_baserel_size(), get_relation_info(), get_variable_numdistinct(), plan_cluster_use_sort(), postgresGetForeignRelSize(), set_append_rel_size(), set_baserel_size_estimates(), set_cte_size_estimates(), set_function_size_estimates(), set_subquery_size_estimates(), set_values_size_estimates(), var_eq_const(), and var_eq_non_const().
Definition at line 402 of file relation.h.
Definition at line 411 of file relation.h.
Referenced by add_placeholders_to_joinrel(), build_join_rel(), build_joinrel_tlist(), build_simple_rel(), copy_path_costsize(), cost_rescan(), create_material_path(), create_merge_append_path(), create_unique_path(), estimate_path_cost_size(), estimate_size(), final_cost_mergejoin(), grouping_planner(), initial_cost_hashjoin(), initial_cost_mergejoin(), plan_cluster_use_sort(), postgresGetForeignRelSize(), query_planner(), set_append_rel_size(), set_dummy_rel_pathlist(), and set_rel_width().