PostgreSQL Source Code
git master
|
#include <pathnodes.h>
Data Fields | |
NodeTag | type |
Oid | indexoid |
Oid | reltablespace |
RelOptInfo * | rel |
BlockNumber | pages |
double | tuples |
int | tree_height |
int | ncolumns |
int | nkeycolumns |
int * | indexkeys |
Oid * | indexcollations |
Oid * | opfamily |
Oid * | opcintype |
Oid * | sortopfamily |
bool * | reverse_sort |
bool * | nulls_first |
bytea ** | opclassoptions |
bool * | canreturn |
Oid | relam |
List * | indexprs |
List * | indpred |
List * | indextlist |
List * | indrestrictinfo |
bool | predOK |
bool | unique |
bool | immediate |
bool | hypothetical |
bool | amcanorderbyop |
bool | amoptionalkey |
bool | amsearcharray |
bool | amsearchnulls |
bool | amhasgettuple |
bool | amhasgetbitmap |
bool | amcanparallel |
bool | amcanmarkpos |
void(* | amcostestimate )() |
Definition at line 814 of file pathnodes.h.
bool IndexOptInfo::amcanmarkpos |
Definition at line 867 of file pathnodes.h.
Referenced by get_relation_info().
bool IndexOptInfo::amcanorderbyop |
Definition at line 860 of file pathnodes.h.
Referenced by build_index_paths(), get_relation_info(), and match_pathkeys_to_index().
bool IndexOptInfo::amcanparallel |
Definition at line 866 of file pathnodes.h.
Referenced by build_index_paths(), and get_relation_info().
void(* IndexOptInfo::amcostestimate) () |
Definition at line 869 of file pathnodes.h.
Referenced by cost_index(), and get_relation_info().
bool IndexOptInfo::amhasgetbitmap |
Definition at line 865 of file pathnodes.h.
Referenced by build_index_paths(), build_paths_for_OR(), get_index_paths(), and get_relation_info().
bool IndexOptInfo::amhasgettuple |
Definition at line 864 of file pathnodes.h.
Referenced by build_index_paths(), get_index_paths(), and get_relation_info().
bool IndexOptInfo::amoptionalkey |
Definition at line 861 of file pathnodes.h.
Referenced by build_index_paths(), and get_relation_info().
bool IndexOptInfo::amsearcharray |
Definition at line 862 of file pathnodes.h.
Referenced by build_index_paths(), and get_relation_info().
bool IndexOptInfo::amsearchnulls |
Definition at line 863 of file pathnodes.h.
Referenced by get_relation_info(), and match_clause_to_indexcol().
bool* IndexOptInfo::canreturn |
Definition at line 839 of file pathnodes.h.
Referenced by check_index_only(), and get_relation_info().
bool IndexOptInfo::hypothetical |
Definition at line 857 of file pathnodes.h.
Referenced by brincostestimate(), get_actual_variable_range(), get_relation_info(), and gincostestimate().
bool IndexOptInfo::immediate |
Definition at line 856 of file pathnodes.h.
Referenced by get_relation_info(), rel_supports_distinctness(), and relation_has_unique_index_for().
Oid* IndexOptInfo::indexcollations |
Definition at line 832 of file pathnodes.h.
Referenced by build_index_pathkeys(), ec_member_matches_indexcol(), expand_indexqual_rowcompare(), get_actual_variable_range(), get_index_clause_from_support(), get_relation_info(), gincost_pattern(), match_clause_to_ordering_op(), match_opclause_to_indexcol(), match_rowcompare_to_indexcol(), and match_saopclause_to_indexcol().
int* IndexOptInfo::indexkeys |
Definition at line 830 of file pathnodes.h.
Referenced by brincostestimate(), btcostestimate(), build_index_tlist(), check_index_only(), examine_variable(), fix_indexqual_operand(), get_relation_info(), has_unique_index(), and match_index_to_operand().
Oid IndexOptInfo::indexoid |
Definition at line 818 of file pathnodes.h.
Referenced by brincostestimate(), btcostestimate(), create_indexscan_plan(), examine_variable(), get_actual_variable_range(), get_relation_info(), gincost_pattern(), gincostestimate(), and plan_cluster_use_sort().
List* IndexOptInfo::indexprs |
Definition at line 843 of file pathnodes.h.
Referenced by build_index_tlist(), examine_variable(), fix_indexqual_operand(), get_relation_info(), match_index_to_operand(), and plan_cluster_use_sort().
List* IndexOptInfo::indextlist |
Definition at line 846 of file pathnodes.h.
Referenced by build_index_pathkeys(), create_indexscan_plan(), and get_relation_info().
List* IndexOptInfo::indpred |
Definition at line 844 of file pathnodes.h.
Referenced by add_predicate_to_index_quals(), build_paths_for_OR(), check_index_predicates(), create_bitmap_subplan(), create_index_paths(), examine_variable(), find_indexpath_quals(), get_actual_variable_range(), get_relation_info(), has_unique_index(), rel_supports_distinctness(), and relation_has_unique_index_for().
List* IndexOptInfo::indrestrictinfo |
Definition at line 848 of file pathnodes.h.
Referenced by check_index_only(), check_index_predicates(), cost_index(), get_relation_info(), and match_restriction_clauses_to_index().
int IndexOptInfo::ncolumns |
Definition at line 828 of file pathnodes.h.
Referenced by build_index_tlist(), check_index_only(), examine_variable(), fix_indexqual_operand(), and get_relation_info().
int IndexOptInfo::nkeycolumns |
Definition at line 829 of file pathnodes.h.
Referenced by btcostestimate(), build_index_pathkeys(), build_index_paths(), consider_index_join_clauses(), create_index_paths(), examine_variable(), expand_indexqual_rowcompare(), get_join_index_paths(), get_relation_info(), gincostestimate(), has_unique_index(), match_clause_to_index(), match_eclass_clauses_to_index(), match_pathkeys_to_index(), and relation_has_unique_index_for().
bool* IndexOptInfo::nulls_first |
Definition at line 837 of file pathnodes.h.
Referenced by build_index_pathkeys(), and get_relation_info().
Oid* IndexOptInfo::opcintype |
Definition at line 834 of file pathnodes.h.
Referenced by btcostestimate(), build_index_pathkeys(), get_relation_info(), and gincost_pattern().
bytea** IndexOptInfo::opclassoptions |
Definition at line 838 of file pathnodes.h.
Referenced by get_relation_info(), and gincost_pattern().
Oid* IndexOptInfo::opfamily |
Definition at line 833 of file pathnodes.h.
Referenced by btcostestimate(), ec_member_matches_indexcol(), expand_indexqual_rowcompare(), get_index_clause_from_support(), get_relation_info(), gincost_pattern(), indexcol_is_bool_constant_for_query(), match_clause_to_indexcol(), match_clause_to_ordering_op(), match_opclause_to_indexcol(), match_rowcompare_to_indexcol(), match_saopclause_to_indexcol(), and relation_has_unique_index_for().
BlockNumber IndexOptInfo::pages |
Definition at line 823 of file pathnodes.h.
Referenced by brincostestimate(), cost_index(), genericcostestimate(), get_indexpath_pages(), get_relation_info(), gincostestimate(), gistcostestimate(), and spgcostestimate().
bool IndexOptInfo::predOK |
Definition at line 854 of file pathnodes.h.
Referenced by build_paths_for_OR(), check_index_predicates(), create_index_paths(), examine_variable(), get_index_paths(), get_relation_info(), has_unique_index(), rel_supports_distinctness(), and relation_has_unique_index_for().
RelOptInfo* IndexOptInfo::rel |
Definition at line 820 of file pathnodes.h.
Referenced by brincostestimate(), btcostestimate(), build_index_pathkeys(), build_index_tlist(), cost_index(), create_index_path(), examine_variable(), expand_indexqual_rowcompare(), fix_indexqual_operand(), genericcostestimate(), get_relation_info(), gincostestimate(), indexcol_is_bool_constant_for_query(), is_pseudo_constant_for_index(), match_clause_to_index(), match_eclass_clauses_to_index(), match_index_to_operand(), match_opclause_to_indexcol(), match_pathkeys_to_index(), match_rowcompare_to_indexcol(), and match_saopclause_to_indexcol().
Oid IndexOptInfo::relam |
Definition at line 841 of file pathnodes.h.
Referenced by ec_member_matches_indexcol(), get_actual_variable_range(), get_relation_info(), and match_rowcompare_to_indexcol().
Oid IndexOptInfo::reltablespace |
Definition at line 819 of file pathnodes.h.
Referenced by brincostestimate(), genericcostestimate(), get_relation_info(), and gincostestimate().
bool* IndexOptInfo::reverse_sort |
Definition at line 836 of file pathnodes.h.
Referenced by btcostestimate(), build_index_pathkeys(), get_actual_variable_range(), and get_relation_info().
Oid* IndexOptInfo::sortopfamily |
Definition at line 835 of file pathnodes.h.
Referenced by build_index_pathkeys(), build_index_paths(), get_actual_variable_range(), and get_relation_info().
int IndexOptInfo::tree_height |
Definition at line 825 of file pathnodes.h.
Referenced by btcostestimate(), get_relation_info(), gistcostestimate(), and spgcostestimate().
double IndexOptInfo::tuples |
Definition at line 824 of file pathnodes.h.
Referenced by blcostestimate(), btcostestimate(), genericcostestimate(), get_relation_info(), gincostestimate(), gistcostestimate(), and spgcostestimate().
NodeTag IndexOptInfo::type |
Definition at line 816 of file pathnodes.h.
bool IndexOptInfo::unique |
Definition at line 855 of file pathnodes.h.
Referenced by btcostestimate(), examine_variable(), get_relation_info(), has_unique_index(), rel_supports_distinctness(), and relation_has_unique_index_for().