PostgreSQL Source Code
git master
|
#include <pathnodes.h>
Public Member Functions | |
pg_node_attr (no_copy_equal, no_read, no_query_jumble) NodeTag type | |
Relids *attr_needed | pg_node_attr (read_write_ignore) |
int32 *attr_widths | pg_node_attr (read_write_ignore) |
struct FdwRoutine *fdwroutine | pg_node_attr (read_write_ignore) |
void *fdw_private | pg_node_attr (read_write_ignore) |
struct RelOptInfo *parent | pg_node_attr (read_write_ignore) |
struct RelOptInfo *top_parent | pg_node_attr (read_write_ignore) |
PartitionScheme part_scheme | pg_node_attr (read_write_ignore) |
struct PartitionBoundInfoData *boundinfo | pg_node_attr (read_write_ignore) |
struct RelOptInfo **part_rels | pg_node_attr (read_write_ignore) |
List **partexprs | pg_node_attr (read_write_ignore) |
List **nullable_partexprs | pg_node_attr (read_write_ignore) |
Definition at line 859 of file pathnodes.h.
RelOptInfo::pg_node_attr | ( | no_copy_equal | , |
no_read | , | ||
no_query_jumble | |||
) |
Relids* attr_needed RelOptInfo::pg_node_attr | ( | read_write_ignore | ) |
int32* attr_widths RelOptInfo::pg_node_attr | ( | read_write_ignore | ) |
struct FdwRoutine* fdwroutine RelOptInfo::pg_node_attr | ( | read_write_ignore | ) |
void* fdw_private RelOptInfo::pg_node_attr | ( | read_write_ignore | ) |
struct RelOptInfo* parent RelOptInfo::pg_node_attr | ( | read_write_ignore | ) |
struct RelOptInfo* top_parent RelOptInfo::pg_node_attr | ( | read_write_ignore | ) |
PartitionScheme part_scheme RelOptInfo::pg_node_attr | ( | read_write_ignore | ) |
struct PartitionBoundInfoData* boundinfo RelOptInfo::pg_node_attr | ( | read_write_ignore | ) |
struct RelOptInfo** part_rels RelOptInfo::pg_node_attr | ( | read_write_ignore | ) |
List** partexprs RelOptInfo::pg_node_attr | ( | read_write_ignore | ) |
List** nullable_partexprs RelOptInfo::pg_node_attr | ( | read_write_ignore | ) |
Relids RelOptInfo::all_partrels |
Definition at line 1041 of file pathnodes.h.
Referenced by build_child_join_rel(), build_join_rel(), build_simple_rel(), expand_partitioned_rtentry(), get_matching_part_pairs(), and try_partitionwise_join().
double RelOptInfo::allvisfrac |
Definition at line 950 of file pathnodes.h.
Referenced by build_child_join_rel(), build_join_rel(), build_simple_rel(), cost_index(), and get_relation_info().
uint32 RelOptInfo::amflags |
Definition at line 958 of file pathnodes.h.
Referenced by build_child_join_rel(), build_join_rel(), build_simple_rel(), get_relation_info(), and TidRangeQualFromRestrictInfoList().
Index RelOptInfo::baserestrict_min_security |
Definition at line 989 of file pathnodes.h.
Referenced by add_base_clause_to_rel(), apply_child_basequals(), build_join_rel(), build_simple_rel(), consider_new_or_clause(), and restriction_is_securely_promotable().
QualCost RelOptInfo::baserestrictcost |
Definition at line 987 of file pathnodes.h.
Referenced by build_child_join_rel(), build_join_rel(), build_simple_rel(), estimate_costs(), estimate_path_cost_size(), get_restriction_qual_cost(), set_baserel_size_estimates(), and set_foreign_size_estimates().
List* RelOptInfo::baserestrictinfo |
Definition at line 985 of file pathnodes.h.
Referenced by add_base_clause_to_rel(), apply_child_basequals(), build_child_join_rel(), build_join_rel(), build_simple_rel(), check_index_predicates(), check_selective_binary_conversion(), consider_new_or_clause(), cost_subqueryscan(), create_append_plan(), create_foreignscan_plan(), create_index_paths(), create_merge_append_plan(), create_scan_plan(), create_tidscan_paths(), estimate_size(), get_memoize_path(), get_parameterized_baserel_size(), partkey_is_bool_constant_for_query(), postgresGetForeignRelSize(), prune_append_rel_partitions(), relation_excluded_by_constraints(), relation_has_unique_index_for(), remove_unused_subquery_outputs(), set_baserel_size_estimates(), set_foreign_size_estimates(), set_rel_consider_parallel(), and set_subquery_pathlist().
List* RelOptInfo::cheapest_parameterized_paths |
Definition at line 904 of file pathnodes.h.
Referenced by build_child_join_rel(), build_join_rel(), build_simple_rel(), consider_parallel_nestloop(), fetch_upper_rel(), hash_inner_and_outer(), match_unsorted_outer(), and set_cheapest().
struct Path* RelOptInfo::cheapest_startup_path |
Definition at line 901 of file pathnodes.h.
Referenced by add_paths_to_append_rel(), adjust_paths_for_srfs(), build_child_join_rel(), build_join_rel(), build_simple_rel(), fetch_upper_rel(), hash_inner_and_outer(), and set_cheapest().
struct Path* RelOptInfo::cheapest_total_path |
Definition at line 902 of file pathnodes.h.
Referenced by add_paths_to_append_rel(), add_paths_to_grouping_rel(), adjust_paths_for_srfs(), build_child_join_rel(), build_join_rel(), build_setop_child_paths(), build_simple_rel(), consider_parallel_nestloop(), create_final_distinct_paths(), create_ordered_paths(), create_ordinary_grouping_paths(), create_partial_grouping_paths(), create_unique_path(), create_window_paths(), fetch_upper_rel(), generate_nonunion_paths(), generate_orderedappend_paths(), generate_recursion_path(), generate_union_paths(), geqo_eval(), get_cheapest_fractional_path(), grouping_planner(), hash_inner_and_outer(), join_is_legal(), make_subplan(), match_unsorted_outer(), populate_joinrel_with_paths(), query_planner(), set_cheapest(), set_subquery_size_estimates(), sort_inner_and_outer(), and SS_process_ctes().
struct Path* RelOptInfo::cheapest_unique_path |
Definition at line 903 of file pathnodes.h.
Referenced by build_child_join_rel(), build_join_rel(), build_simple_rel(), create_unique_path(), fetch_upper_rel(), and set_cheapest().
bool RelOptInfo::consider_parallel |
Definition at line 887 of file pathnodes.h.
Referenced by add_partial_path(), add_paths_to_append_rel(), apply_scanjoin_target_to_paths(), build_child_join_rel(), build_index_paths(), build_join_rel(), build_setop_child_paths(), build_simple_rel(), create_agg_path(), create_append_path(), create_bitmap_and_path(), create_bitmap_heap_path(), create_bitmap_or_path(), create_ctescan_path(), create_distinct_paths(), create_foreign_join_path(), create_foreign_upper_path(), create_foreignscan_path(), create_functionscan_path(), create_group_path(), create_group_result_path(), create_groupingsets_path(), create_hashjoin_path(), create_incremental_sort_path(), create_index_path(), create_index_paths(), create_limit_path(), create_material_path(), create_memoize_path(), create_merge_append_path(), create_mergejoin_path(), create_namedtuplestorescan_path(), create_nestloop_path(), create_ordered_paths(), create_partial_distinct_paths(), create_partial_grouping_paths(), create_projection_path(), create_recursiveunion_path(), create_resultscan_path(), create_samplescan_path(), create_seqscan_path(), create_set_projection_path(), create_setop_path(), create_sort_path(), create_subqueryscan_path(), create_tablefuncscan_path(), create_tidrangescan_path(), create_tidscan_path(), create_unique_path(), create_upper_unique_path(), create_valuesscan_path(), create_window_paths(), create_windowagg_path(), create_worktablescan_path(), fetch_upper_rel(), generate_union_paths(), grouping_planner(), hash_inner_and_outer(), make_grouping_rel(), match_unsorted_outer(), query_planner(), set_append_rel_pathlist(), set_append_rel_size(), set_plain_rel_pathlist(), set_rel_consider_parallel(), set_subquery_pathlist(), sort_inner_and_outer(), and SS_charge_for_initplans().
bool RelOptInfo::consider_param_startup |
Definition at line 885 of file pathnodes.h.
Referenced by add_path_precheck(), build_child_join_rel(), build_join_rel(), build_simple_rel(), fetch_upper_rel(), and set_base_rel_consider_startup().
bool RelOptInfo::consider_partitionwise_join |
Definition at line 999 of file pathnodes.h.
Referenced by build_child_join_rel(), build_join_rel(), build_joinrel_partition_info(), build_simple_rel(), generate_partitionwise_join_paths(), set_append_rel_size(), and try_partitionwise_join().
bool RelOptInfo::consider_startup |
Definition at line 883 of file pathnodes.h.
Referenced by add_path_precheck(), add_paths_to_append_rel(), build_child_join_rel(), build_join_rel(), build_simple_rel(), fetch_upper_rel(), and generate_union_paths().
Relids RelOptInfo::direct_lateral_relids |
Definition at line 911 of file pathnodes.h.
Referenced by add_placeholders_to_joinrel(), build_child_join_rel(), build_join_rel(), build_simple_rel(), create_lateral_join_info(), have_join_order_restriction(), and join_is_legal().
Bitmapset* RelOptInfo::eclass_indexes |
Definition at line 952 of file pathnodes.h.
Referenced by add_child_rel_equivalences(), add_setop_child_rel_equivalences(), build_child_join_rel(), build_join_rel(), build_simple_rel(), generate_base_implied_equalities(), generate_implied_equalities_for_column(), get_eclass_for_sort_expr(), get_eclass_indexes_for_relids(), and match_eclasses_to_foreign_key_col().
bool RelOptInfo::has_eclass_joins |
Definition at line 993 of file pathnodes.h.
Referenced by build_child_join_rel(), build_join_rel(), build_simple_rel(), create_tidscan_paths(), generate_base_implied_equalities(), get_useful_ecs_for_relation(), has_useful_pathkeys(), have_relevant_joinclause(), join_search_one_level(), pathkeys_useful_for_merging(), postgresGetForeignPaths(), and set_append_rel_size().
List* RelOptInfo::indexlist |
Definition at line 944 of file pathnodes.h.
Referenced by build_child_join_rel(), build_join_rel(), build_paths_for_OR(), build_simple_rel(), check_index_predicates(), create_index_paths(), examine_variable(), get_actual_variable_range(), get_relation_info(), group_similar_or_args(), has_unique_index(), plan_cluster_use_sort(), rel_supports_distinctness(), relation_has_unique_index_for(), and remove_useless_groupby_columns().
List* RelOptInfo::joininfo |
Definition at line 991 of file pathnodes.h.
Referenced by add_join_clause_to_rels(), build_child_join_rel(), build_join_rel(), build_joinrel_joinlist(), build_simple_rel(), check_index_predicates(), create_tidscan_paths(), extract_restriction_or_clauses(), get_baserel_parampathinfo(), get_joinrel_parampathinfo(), get_useful_ecs_for_relation(), has_useful_pathkeys(), have_relevant_joinclause(), join_is_removable(), join_search_one_level(), match_foreign_keys_to_quals(), match_join_clauses_to_index(), pathkeys_useful_for_merging(), postgresGetForeignPaths(), rebuild_joinclause_attr_needed(), reduce_unique_semijoins(), remove_join_clause_from_rels(), remove_rel_from_query(), set_append_rel_size(), and subbuild_joinrel_restrictlist().
Relids RelOptInfo::lateral_referencers |
Definition at line 942 of file pathnodes.h.
Referenced by build_child_join_rel(), build_join_rel(), build_simple_rel(), create_lateral_join_info(), create_tidscan_paths(), has_join_restriction(), join_clause_is_movable_to(), and postgresGetForeignPaths().
Relids RelOptInfo::lateral_relids |
Definition at line 913 of file pathnodes.h.
Referenced by add_paths_to_joinrel(), add_paths_with_pathkeys_for_rel(), build_child_join_rel(), build_index_paths(), build_join_rel(), build_setop_child_paths(), build_simple_rel(), BuildParameterizedTidPaths(), create_foreign_join_path(), create_foreign_upper_path(), create_index_paths(), create_lateral_join_info(), create_merge_append_path(), create_partial_bitmap_paths(), create_tidscan_paths(), fileGetForeignPaths(), get_appendrel_parampathinfo(), get_baserel_parampathinfo(), get_joinrel_parampathinfo(), has_join_restriction(), hash_inner_and_outer(), join_is_legal(), mark_dummy_rel(), match_unsorted_outer(), min_join_parameterization(), postgresGetForeignJoinPaths(), postgresGetForeignPaths(), set_cte_pathlist(), set_dummy_rel_pathlist(), set_function_pathlist(), set_namedtuplestore_pathlist(), set_plain_rel_pathlist(), set_result_pathlist(), set_subquery_pathlist(), set_tablefunc_pathlist(), set_tablesample_rel_pathlist(), set_values_pathlist(), set_worktable_pathlist(), sort_inner_and_outer(), try_partial_hashjoin_path(), try_partial_mergejoin_path(), and try_partial_nestloop_path().
List* RelOptInfo::lateral_vars |
Definition at line 940 of file pathnodes.h.
Referenced by build_child_join_rel(), build_join_rel(), build_simple_rel(), create_lateral_join_info(), extract_lateral_references(), get_memoize_path(), paraminfo_get_equal_hashops(), and rebuild_lateral_attr_needed().
Bitmapset* RelOptInfo::live_parts |
Definition at line 1039 of file pathnodes.h.
Referenced by apply_scanjoin_target_to_paths(), build_child_join_rel(), build_join_rel(), build_partition_pathkeys(), build_simple_rel(), create_partitionwise_grouping_paths(), expand_partitioned_rtentry(), generate_orderedappend_paths(), make_partitionedrel_pruneinfo(), and try_partitionwise_join().
AttrNumber RelOptInfo::max_attr |
Definition at line 926 of file pathnodes.h.
Referenced by build_child_join_rel(), build_join_rel(), build_simple_rel(), get_expr_width(), get_relation_info(), join_is_removable(), remove_rel_from_query(), set_append_rel_size(), set_function_pathlist(), set_rel_width(), and set_subquery_size_estimates().
AttrNumber RelOptInfo::min_attr |
Definition at line 924 of file pathnodes.h.
Referenced by add_vars_to_attr_needed(), add_vars_to_targetlist(), build_child_join_rel(), build_join_rel(), build_joinrel_tlist(), build_simple_rel(), get_expr_width(), 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().
List* RelOptInfo::non_unique_for_rels |
Definition at line 979 of file pathnodes.h.
Referenced by build_join_rel(), build_simple_rel(), and innerrel_is_unique().
Bitmapset* RelOptInfo::notnullattnums |
Definition at line 936 of file pathnodes.h.
Referenced by build_child_join_rel(), build_join_rel(), build_simple_rel(), expr_is_nonnullable(), get_relation_info(), and remove_useless_groupby_columns().
int RelOptInfo::nparts |
Definition at line 1021 of file pathnodes.h.
Referenced by build_child_join_rel(), build_join_rel(), build_simple_rel(), compute_partition_bounds(), expand_partitioned_rtentry(), generate_matching_part_pairs(), generate_partitionwise_join_paths(), get_matching_part_pairs(), init_partition_map(), make_partitionedrel_pruneinfo(), prune_append_rel_partitions(), set_relation_partition_info(), and try_partitionwise_join().
Relids RelOptInfo::nulling_relids |
Definition at line 938 of file pathnodes.h.
Referenced by build_child_join_rel(), build_join_rel(), build_simple_rel(), check_index_predicates(), join_clause_is_movable_to(), mark_rels_nulled_by_join(), and set_append_rel_size().
BlockNumber RelOptInfo::pages |
Definition at line 948 of file pathnodes.h.
Referenced by bernoulli_samplescangetsamplesize(), brincostestimate(), build_child_join_rel(), build_join_rel(), build_simple_rel(), compute_bitmap_pages(), cost_bitmap_heap_scan(), cost_index(), cost_samplescan(), cost_seqscan(), cost_tidrangescan(), create_plain_partial_paths(), estimate_path_cost_size(), estimate_size(), get_relation_info(), make_one_rel(), plan_cluster_use_sort(), postgresGetForeignRelSize(), scalarineqsel(), set_tablesample_rel_size(), system_rows_samplescangetsamplesize(), system_samplescangetsamplesize(), and system_time_samplescangetsamplesize().
bool RelOptInfo::partbounds_merged |
Definition at line 1025 of file pathnodes.h.
Referenced by build_child_join_rel(), build_join_rel(), build_simple_rel(), compute_partition_bounds(), and try_partitionwise_join().
List* RelOptInfo::partial_pathlist |
Definition at line 900 of file pathnodes.h.
Referenced by add_partial_path(), add_partial_path_precheck(), add_paths_to_append_rel(), add_paths_to_grouping_rel(), adjust_paths_for_srfs(), apply_scanjoin_target_to_paths(), build_child_join_rel(), build_join_rel(), build_setop_child_paths(), build_simple_rel(), consider_parallel_mergejoin(), consider_parallel_nestloop(), create_ordered_paths(), create_ordinary_grouping_paths(), create_partial_distinct_paths(), create_partial_grouping_paths(), gather_grouping_paths(), generate_gather_paths(), generate_union_paths(), generate_useful_gather_paths(), grouping_planner(), hash_inner_and_outer(), mark_dummy_rel(), match_unsorted_outer(), recurse_set_operations(), set_dummy_rel_pathlist(), set_subquery_pathlist(), sort_inner_and_outer(), and SS_charge_for_initplans().
List* RelOptInfo::partition_qual |
Definition at line 1027 of file pathnodes.h.
Referenced by build_child_join_rel(), build_join_rel(), build_simple_rel(), gen_partprune_steps(), get_relation_constraints(), and set_baserel_partition_constraint().
List* RelOptInfo::pathlist |
Definition at line 898 of file pathnodes.h.
Referenced by add_foreign_final_paths(), add_path(), add_path_precheck(), add_paths_to_append_rel(), add_paths_to_grouping_rel(), adjust_paths_for_srfs(), apply_scanjoin_target_to_paths(), build_child_join_rel(), build_join_rel(), build_minmax_path(), build_setop_child_paths(), build_simple_rel(), create_distinct_paths(), create_final_distinct_paths(), create_ordered_paths(), create_ordinary_grouping_paths(), create_partial_grouping_paths(), create_partitionwise_grouping_paths(), create_window_paths(), fetch_upper_rel(), generate_mergejoin_paths(), generate_orderedappend_paths(), generate_partitionwise_join_paths(), generate_union_paths(), get_cheapest_fractional_path(), get_cheapest_parameterized_child_path(), GetExistingLocalJoinPath(), grouping_planner(), hash_inner_and_outer(), is_dummy_rel(), mark_dummy_rel(), match_unsorted_outer(), populate_joinrel_with_paths(), recurse_set_operations(), set_cheapest(), set_dummy_rel_pathlist(), set_subquery_pathlist(), sort_inner_and_outer(), and SS_charge_for_initplans().
List* RelOptInfo::ppilist |
Definition at line 899 of file pathnodes.h.
Referenced by build_child_join_rel(), build_join_rel(), build_simple_rel(), find_param_path_info(), get_appendrel_parampathinfo(), get_baserel_parampathinfo(), get_joinrel_parampathinfo(), and reparameterize_path_by_child().
int RelOptInfo::rel_parallel_workers |
Definition at line 956 of file pathnodes.h.
Referenced by build_join_rel(), build_simple_rel(), compute_parallel_worker(), get_relation_info(), and plan_create_index_workers().
Index RelOptInfo::relid |
Definition at line 918 of file pathnodes.h.
Referenced by add_rtes_to_flat_rtable(), approximate_joinrel_size(), bitmap_scan_cost_est(), brincostestimate(), build_child_join_rel(), build_index_paths(), build_join_rel(), build_physical_tlist(), build_simple_rel(), BuildParameterizedTidPaths(), check_index_only(), check_index_predicates(), check_selective_binary_conversion(), cost_bitmap_heap_scan(), cost_ctescan(), cost_functionscan(), cost_index(), cost_namedtuplestorescan(), cost_resultscan(), cost_samplescan(), cost_seqscan(), cost_subqueryscan(), cost_tablefuncscan(), cost_tidrangescan(), cost_tidscan(), cost_valuesscan(), create_foreignscan_plan(), create_index_paths(), create_lateral_join_info(), create_subqueryscan_plan(), create_unique_path(), deparseFromExprForRel(), deparseSelectSql(), dependencies_clauselist_selectivity(), estimate_multivariate_ndistinct(), estimate_path_cost_size(), examine_variable(), extract_restriction_or_clauses(), fileGetForeignPlan(), find_childrel_parents(), find_lateral_references(), find_single_rel_for_clauses(), find_var_for_subquery_tle(), get_actual_variable_range(), get_loop_count(), get_parameterized_baserel_size(), get_rel_all_updated_cols(), get_relation_constraints(), get_relation_foreign_keys(), get_relation_info(), get_relation_statistics(), grouping_planner(), IsBinaryTidClause(), IsCTIDVar(), IsCurrentOfClause(), IsTidEqualAnyClause(), join_clause_is_movable_to(), make_one_rel(), make_partition_pruneinfo(), make_partitionedrel_pruneinfo(), mcv_clauselist_selectivity(), postgresGetForeignPaths(), postgresGetForeignPlan(), postgresGetForeignRelSize(), rel_is_distinct_for(), rel_supports_distinctness(), remove_rel_from_query(), remove_unused_subquery_outputs(), set_append_rel_size(), set_base_rel_pathlists(), set_base_rel_sizes(), set_baserel_partition_constraint(), set_baserel_partition_key_exprs(), set_baserel_size_estimates(), set_cte_size_estimates(), set_foreign_size_estimates(), set_function_pathlist(), set_function_size_estimates(), set_namedtuplestore_size_estimates(), set_rel_width(), set_result_size_estimates(), set_subquery_size_estimates(), set_tablefunc_size_estimates(), set_values_size_estimates(), statext_mcv_clauselist_selectivity(), and translate_col_privs_multilevel().
Relids RelOptInfo::relids |
Definition at line 871 of file pathnodes.h.
Referenced by add_child_join_rel_equivalences(), add_child_rel_equivalences(), add_join_rel(), add_paths_to_joinrel(), add_placeholders_to_joinrel(), add_setop_child_rel_equivalences(), add_vars_to_attr_needed(), add_vars_to_targetlist(), adjust_appendrel_attrs_multilevel(), adjust_child_relids_multilevel(), apply_scanjoin_target_to_paths(), build_child_join_rel(), build_join_rel(), build_join_rel_hash(), build_joinrel_restrictlist(), build_joinrel_tlist(), build_partition_pathkeys(), build_simple_rel(), calc_joinrel_size_estimate(), check_index_predicates(), compute_semi_anti_join_factors(), consider_new_or_clause(), convert_subquery_pathkeys(), create_append_path(), create_append_plan(), create_merge_append_path(), create_merge_append_plan(), create_partial_grouping_paths(), create_partitionwise_grouping_paths(), create_unique_path(), deparseFromExpr(), deparseFromExprForRel(), deparseLockingClause(), deparseRangeTblRef(), eclass_useful_for_merging(), expand_partitioned_rtentry(), fetch_upper_rel(), find_em_for_rel(), find_join_rel(), foreign_grouping_ok(), foreign_join_ok(), generate_implied_equalities_for_column(), generate_join_implied_equalities(), generate_join_implied_equalities_for_ecs(), generate_nonunion_paths(), generate_recursion_path(), generate_union_paths(), get_appendrel_parampathinfo(), get_baserel_parampathinfo(), get_join_variables(), get_joinrel_parampathinfo(), get_matching_part_pairs(), get_memoize_path(), get_useful_ecs_for_relation(), has_join_restriction(), has_legal_joinclause(), has_relevant_eclass_joinclause(), hash_inner_and_outer(), have_join_order_restriction(), have_partkey_equi_join(), have_relevant_eclass_joinclause(), have_relevant_joinclause(), is_foreign_expr(), is_foreign_param(), is_innerrel_unique_for(), is_safe_restriction_clause_for(), join_is_legal(), join_is_removable(), join_search_one_level(), make_grouping_rel(), make_join_rel(), make_one_rel(), make_partitionedrel_pruneinfo(), make_rels_by_clause_joins(), make_rels_by_clauseless_joins(), merge_clump(), paraminfo_get_equal_hashops(), populate_joinrel_with_paths(), relation_can_be_sorted_early(), restriction_is_constant_false(), select_mergejoin_clauses(), select_outer_pathkeys_for_merge(), semijoin_target_ok(), set_function_pathlist(), set_rel_pathlist(), standard_join_search(), subbuild_joinrel_joinlist(), subbuild_joinrel_restrictlist(), try_nestloop_path(), try_partial_nestloop_path(), try_partitionwise_join(), and use_physical_tlist().
RelOptKind RelOptInfo::reloptkind |
Definition at line 865 of file pathnodes.h.
Referenced by add_child_join_rel_equivalences(), add_child_rel_equivalences(), add_foreign_final_paths(), add_foreign_ordered_paths(), add_other_rels_to_query(), add_paths_to_joinrel(), build_child_join_rel(), build_join_rel(), build_simple_rel(), check_index_predicates(), compute_parallel_worker(), create_append_path(), create_foreignscan_plan(), create_lateral_join_info(), create_partial_grouping_paths(), deparseDirectDeleteSql(), deparseDirectUpdateSql(), estimate_path_cost_size(), extract_restriction_or_clauses(), fetch_upper_rel(), find_childrel_parents(), find_lateral_references(), generate_base_implied_equalities(), generate_implied_equalities_for_column(), get_eclass_for_sort_expr(), get_relation_foreign_keys(), make_grouping_rel(), make_partition_pruneinfo(), match_foreign_keys_to_quals(), rebuild_joinclause_attr_needed(), rebuild_lateral_attr_needed(), rel_is_distinct_for(), rel_supports_distinctness(), relation_excluded_by_constraints(), set_append_rel_size(), set_base_rel_pathlists(), set_base_rel_sizes(), set_rel_pathlist(), set_rel_size(), subbuild_joinrel_joinlist(), try_partitionwise_join(), and use_physical_tlist().
Oid RelOptInfo::reltablespace |
Definition at line 920 of file pathnodes.h.
Referenced by cost_bitmap_heap_scan(), cost_index(), cost_samplescan(), cost_seqscan(), cost_tidrangescan(), cost_tidscan(), get_relation_info(), and system_time_samplescangetsamplesize().
struct PathTarget* RelOptInfo::reltarget |
Definition at line 893 of file pathnodes.h.
Referenced by add_foreign_grouping_paths(), add_paths_to_grouping_rel(), add_placeholders_to_base_rels(), add_placeholders_to_joinrel(), add_vars_to_targetlist(), apply_scanjoin_target_to_paths(), bitmap_scan_cost_est(), build_child_join_rel(), build_child_join_reltarget(), build_join_rel(), build_joinrel_tlist(), build_simple_rel(), build_tlist_to_deparse(), check_index_only(), check_selective_binary_conversion(), create_append_path(), create_bitmap_and_path(), create_bitmap_heap_path(), create_bitmap_or_path(), create_ctescan_path(), create_degenerate_grouping_paths(), create_foreign_join_path(), create_foreign_upper_path(), create_foreignscan_path(), create_foreignscan_plan(), create_functionscan_path(), create_gather_merge_path(), create_group_path(), create_groupingsets_path(), create_hashjoin_path(), create_index_path(), create_material_path(), create_memoize_path(), create_merge_append_path(), create_mergejoin_path(), create_modifytable_path(), create_namedtuplestorescan_path(), create_nestloop_path(), create_partial_distinct_paths(), create_partial_grouping_paths(), create_partitionwise_grouping_paths(), create_resultscan_path(), create_samplescan_path(), create_seqscan_path(), create_subqueryscan_path(), create_tablefuncscan_path(), create_tidrangescan_path(), create_tidscan_path(), create_unique_path(), create_valuesscan_path(), create_worktablescan_path(), deparseRangeTblRef(), deparseSubqueryTargetList(), distribute_row_identity_vars(), estimate_path_cost_size(), estimate_size(), fetch_upper_rel(), find_em_for_rel_target(), find_var_for_subquery_tle(), foreign_grouping_ok(), gather_grouping_paths(), generate_gather_paths(), generate_nonunion_paths(), generate_recursion_path(), generate_union_paths(), generate_useful_gather_paths(), get_memoize_path(), get_relation_column_alias_ids(), grouping_planner(), make_grouping_rel(), plan_cluster_use_sort(), postgresGetForeignJoinPaths(), postgresGetForeignRelSize(), query_planner(), recurse_set_operations(), relation_can_be_sorted_early(), remove_unused_subquery_outputs(), semijoin_target_ok(), set_append_rel_size(), set_dummy_rel_pathlist(), set_function_pathlist(), set_rel_consider_parallel(), set_rel_width(), and set_subquery_pathlist().
Cardinality RelOptInfo::rows |
Definition at line 877 of file pathnodes.h.
Referenced by approximate_joinrel_size(), build_child_join_rel(), build_join_rel(), build_minmax_path(), build_simple_rel(), compute_semi_anti_join_factors(), cost_bitmap_heap_scan(), cost_ctescan(), cost_functionscan(), cost_gather(), cost_gather_merge(), cost_index(), cost_namedtuplestorescan(), cost_resultscan(), cost_samplescan(), cost_seqscan(), cost_tablefuncscan(), cost_tidrangescan(), cost_tidscan(), cost_valuesscan(), create_unique_path(), eqjoinsel(), eqjoinsel_semi(), estimate_hash_bucket_stats(), estimate_num_groups(), estimate_path_cost_size(), estimate_size(), fileGetForeignPaths(), generate_nonunion_paths(), generate_union_paths(), get_foreign_key_join_selectivity(), get_loop_count(), get_parameterized_baserel_size(), get_parameterized_joinrel_size(), mark_dummy_rel(), networkjoinsel_semi(), plan_cluster_use_sort(), postgresGetForeignJoinPaths(), postgresGetForeignRelSize(), set_append_rel_size(), set_baserel_size_estimates(), set_dummy_rel_pathlist(), set_foreign_size(), set_foreign_size_estimates(), set_joinrel_size_estimates(), and set_rel_size().
RTEKind RelOptInfo::rtekind |
Definition at line 922 of file pathnodes.h.
Referenced by build_child_join_rel(), build_join_rel(), build_setop_child_paths(), build_simple_rel(), clauselist_selectivity_ext(), clauselist_selectivity_or(), cost_bitmap_heap_scan(), cost_ctescan(), cost_index(), cost_namedtuplestorescan(), cost_resultscan(), cost_seqscan(), cost_subqueryscan(), cost_tidrangescan(), cost_tidscan(), cost_valuesscan(), create_foreignscan_plan(), create_subqueryscan_plan(), create_unique_path(), generate_nonunion_paths(), generate_recursion_path(), generate_union_paths(), get_variable_numdistinct(), rel_is_distinct_for(), rel_supports_distinctness(), set_rel_pathlist(), set_rel_size(), and use_physical_tlist().
Oid RelOptInfo::serverid |
Definition at line 964 of file pathnodes.h.
Referenced by build_child_join_rel(), build_join_rel(), build_simple_rel(), create_distinct_paths(), create_foreignscan_plan(), create_ordered_paths(), create_partial_distinct_paths(), create_partial_grouping_paths(), create_window_paths(), get_relation_info(), grouping_planner(), make_grouping_rel(), and set_foreign_rel_properties().
List* RelOptInfo::statlist |
Definition at line 946 of file pathnodes.h.
Referenced by build_join_rel(), build_simple_rel(), clauselist_selectivity_ext(), clauselist_selectivity_or(), dependencies_clauselist_selectivity(), estimate_multivariate_ndistinct(), examine_variable(), get_relation_info(), and statext_mcv_clauselist_selectivity().
List* RelOptInfo::subplan_params |
Definition at line 954 of file pathnodes.h.
Referenced by build_child_join_rel(), build_join_rel(), build_simple_rel(), create_subqueryscan_plan(), and set_subquery_pathlist().
PlannerInfo* RelOptInfo::subroot |
Definition at line 953 of file pathnodes.h.
Referenced by add_rtes_to_flat_rtable(), build_child_join_rel(), build_join_rel(), build_setop_child_paths(), build_simple_rel(), create_subqueryscan_plan(), examine_simple_variable(), finalize_plan(), recurse_set_operations(), set_subquery_pathlist(), set_subquery_size_estimates(), and set_subqueryscan_references().
Relids RelOptInfo::top_parent_relids |
Definition at line 1009 of file pathnodes.h.
Referenced by add_child_join_rel_equivalences(), add_child_rel_equivalences(), add_paths_to_joinrel(), build_child_join_rel(), build_join_rel(), build_simple_rel(), eclass_useful_for_merging(), foreign_join_ok(), generate_join_implied_equalities(), generate_join_implied_equalities_for_ecs(), get_useful_ecs_for_relation(), path_is_reparameterizable_by_child(), reparameterize_path_by_child(), try_nestloop_path(), and try_partial_nestloop_path().
Cardinality RelOptInfo::tuples |
Definition at line 949 of file pathnodes.h.
Referenced by bernoulli_samplescangetsamplesize(), build_child_join_rel(), build_join_rel(), build_simple_rel(), clause_selectivity_ext(), compute_bitmap_pages(), cost_ctescan(), cost_functionscan(), cost_index(), cost_namedtuplestorescan(), cost_resultscan(), cost_samplescan(), cost_seqscan(), cost_tablefuncscan(), cost_tidrangescan(), cost_valuesscan(), estimate_hash_bucket_stats(), estimate_num_groups(), estimate_path_cost_size(), estimate_size(), get_foreign_key_join_selectivity(), get_parameterized_baserel_size(), get_relation_info(), get_variable_numdistinct(), plan_cluster_use_sort(), postgresGetForeignRelSize(), scalarineqsel(), set_append_rel_size(), set_baserel_size_estimates(), set_cte_size_estimates(), set_foreign_size(), set_function_size_estimates(), set_namedtuplestore_size_estimates(), set_result_size_estimates(), set_subquery_size_estimates(), set_tablefunc_size_estimates(), set_tablesample_rel_size(), set_values_size_estimates(), system_rows_samplescangetsamplesize(), system_samplescangetsamplesize(), system_time_samplescangetsamplesize(), var_eq_const(), and var_eq_non_const().
List* RelOptInfo::unique_for_rels |
Definition at line 977 of file pathnodes.h.
Referenced by build_join_rel(), build_simple_rel(), and innerrel_is_unique().
Oid RelOptInfo::userid |
Definition at line 966 of file pathnodes.h.
Referenced by build_child_join_rel(), build_join_rel(), build_simple_rel(), create_distinct_paths(), create_foreignscan_plan(), create_ordered_paths(), create_partial_distinct_paths(), create_partial_grouping_paths(), create_window_paths(), examine_simple_variable(), examine_variable(), grouping_planner(), make_grouping_rel(), postgresGetForeignRelSize(), set_foreign_rel_properties(), and statext_is_compatible_clause().
bool RelOptInfo::useridiscurrent |
Definition at line 968 of file pathnodes.h.
Referenced by build_child_join_rel(), build_join_rel(), build_simple_rel(), create_distinct_paths(), create_foreignscan_plan(), create_ordered_paths(), create_partial_distinct_paths(), create_partial_grouping_paths(), create_window_paths(), grouping_planner(), make_grouping_rel(), and set_foreign_rel_properties().