|
PostgreSQL Source Code git master
|
#include <vacuum.h>
Data Fields | |
| int | attstattarget |
| Oid | attrtypid |
| int32 | attrtypmod |
| Form_pg_type | attrtype |
| Oid | attrcollid |
| MemoryContext | anl_context |
| AnalyzeAttrComputeStatsFunc | compute_stats |
| int | minrows |
| void * | extra_data |
| bool | stats_valid |
| float4 | stanullfrac |
| int32 | stawidth |
| float4 | stadistinct |
| int16 | stakind [STATISTIC_NUM_SLOTS] |
| Oid | staop [STATISTIC_NUM_SLOTS] |
| Oid | stacoll [STATISTIC_NUM_SLOTS] |
| int | numnumbers [STATISTIC_NUM_SLOTS] |
| float4 * | stanumbers [STATISTIC_NUM_SLOTS] |
| int | numvalues [STATISTIC_NUM_SLOTS] |
| Datum * | stavalues [STATISTIC_NUM_SLOTS] |
| Oid | statypid [STATISTIC_NUM_SLOTS] |
| int16 | statyplen [STATISTIC_NUM_SLOTS] |
| bool | statypbyval [STATISTIC_NUM_SLOTS] |
| char | statypalign [STATISTIC_NUM_SLOTS] |
| int | tupattnum |
| HeapTuple * | rows |
| TupleDesc | tupDesc |
| Datum * | exprvals |
| bool * | exprnulls |
| int | rowstride |
| MemoryContext VacAttrStats::anl_context |
Definition at line 130 of file vacuum.h.
Referenced by compute_array_stats(), compute_distinct_stats(), compute_range_stats(), compute_scalar_stats(), compute_tsvector_stats(), examine_attribute(), and examine_expression().
| Oid VacAttrStats::attrcollid |
Definition at line 129 of file vacuum.h.
Referenced by array_typanalyze(), build_mss(), compute_distinct_stats(), compute_scalar_stats(), dependency_degree(), examine_attribute(), examine_expression(), ndistinct_for_combination(), and statext_mcv_serialize().
| Form_pg_type VacAttrStats::attrtype |
Definition at line 128 of file vacuum.h.
Referenced by compute_distinct_stats(), compute_expr_stats(), compute_index_stats(), compute_scalar_stats(), compute_trivial_stats(), examine_attribute(), examine_expression(), and statext_mcv_serialize().
| Oid VacAttrStats::attrtypid |
Definition at line 126 of file vacuum.h.
Referenced by array_typanalyze(), build_mss(), dependency_degree(), examine_attribute(), examine_expression(), multirange_typanalyze(), ndistinct_for_combination(), range_typanalyze(), and std_typanalyze().
| int32 VacAttrStats::attrtypmod |
Definition at line 127 of file vacuum.h.
Referenced by examine_attribute(), and examine_expression().
| int VacAttrStats::attstattarget |
Definition at line 125 of file vacuum.h.
Referenced by compute_array_stats(), compute_distinct_stats(), compute_range_stats(), compute_scalar_stats(), compute_tsvector_stats(), examine_attribute(), examine_expression(), multirange_typanalyze(), range_typanalyze(), statext_compute_stattarget(), std_typanalyze(), and ts_typanalyze().
| AnalyzeAttrComputeStatsFunc VacAttrStats::compute_stats |
Definition at line 136 of file vacuum.h.
Referenced by array_typanalyze(), compute_expr_stats(), compute_index_stats(), do_analyze_rel(), examine_attribute(), examine_expression(), multirange_typanalyze(), range_typanalyze(), std_typanalyze(), and ts_typanalyze().
| bool* VacAttrStats::exprnulls |
Definition at line 175 of file vacuum.h.
Referenced by compute_expr_stats(), compute_index_stats(), expr_fetch_func(), and ind_fetch_func().
| Datum* VacAttrStats::exprvals |
Definition at line 174 of file vacuum.h.
Referenced by compute_expr_stats(), compute_index_stats(), expr_fetch_func(), and ind_fetch_func().
| void* VacAttrStats::extra_data |
Definition at line 138 of file vacuum.h.
Referenced by array_typanalyze(), compute_array_stats(), compute_distinct_stats(), compute_range_stats(), compute_scalar_stats(), multirange_typanalyze(), range_typanalyze(), and std_typanalyze().
| int VacAttrStats::minrows |
Definition at line 137 of file vacuum.h.
Referenced by do_analyze_rel(), examine_attribute(), examine_expression(), multirange_typanalyze(), range_typanalyze(), std_typanalyze(), and ts_typanalyze().
| int VacAttrStats::numnumbers[STATISTIC_NUM_SLOTS] |
Definition at line 151 of file vacuum.h.
Referenced by compute_array_stats(), compute_distinct_stats(), compute_range_stats(), compute_scalar_stats(), compute_tsvector_stats(), serialize_expr_stats(), and update_attstats().
| int VacAttrStats::numvalues[STATISTIC_NUM_SLOTS] |
Definition at line 153 of file vacuum.h.
Referenced by compute_array_stats(), compute_distinct_stats(), compute_range_stats(), compute_scalar_stats(), compute_tsvector_stats(), serialize_expr_stats(), and update_attstats().
| HeapTuple* VacAttrStats::rows |
Definition at line 172 of file vacuum.h.
Referenced by do_analyze_rel(), and std_fetch_func().
| int VacAttrStats::rowstride |
Definition at line 176 of file vacuum.h.
Referenced by compute_expr_stats(), compute_index_stats(), expr_fetch_func(), and ind_fetch_func().
| Oid VacAttrStats::stacoll[STATISTIC_NUM_SLOTS] |
Definition at line 150 of file vacuum.h.
Referenced by compute_array_stats(), compute_distinct_stats(), compute_range_stats(), compute_scalar_stats(), compute_tsvector_stats(), serialize_expr_stats(), and update_attstats().
| float4 VacAttrStats::stadistinct |
Definition at line 147 of file vacuum.h.
Referenced by compute_distinct_stats(), compute_expr_stats(), compute_range_stats(), compute_scalar_stats(), compute_trivial_stats(), compute_tsvector_stats(), do_analyze_rel(), serialize_expr_stats(), and update_attstats().
| int16 VacAttrStats::stakind[STATISTIC_NUM_SLOTS] |
Definition at line 148 of file vacuum.h.
Referenced by compute_array_stats(), compute_distinct_stats(), compute_range_stats(), compute_scalar_stats(), compute_tsvector_stats(), serialize_expr_stats(), and update_attstats().
| float4 VacAttrStats::stanullfrac |
Definition at line 145 of file vacuum.h.
Referenced by compute_distinct_stats(), compute_range_stats(), compute_scalar_stats(), compute_trivial_stats(), compute_tsvector_stats(), serialize_expr_stats(), and update_attstats().
| float4* VacAttrStats::stanumbers[STATISTIC_NUM_SLOTS] |
Definition at line 152 of file vacuum.h.
Referenced by compute_array_stats(), compute_distinct_stats(), compute_range_stats(), compute_scalar_stats(), compute_tsvector_stats(), serialize_expr_stats(), and update_attstats().
| Oid VacAttrStats::staop[STATISTIC_NUM_SLOTS] |
Definition at line 149 of file vacuum.h.
Referenced by compute_array_stats(), compute_distinct_stats(), compute_range_stats(), compute_scalar_stats(), compute_tsvector_stats(), serialize_expr_stats(), and update_attstats().
| bool VacAttrStats::stats_valid |
Definition at line 144 of file vacuum.h.
Referenced by compute_distinct_stats(), compute_range_stats(), compute_scalar_stats(), compute_trivial_stats(), compute_tsvector_stats(), serialize_expr_stats(), and update_attstats().
| char VacAttrStats::statypalign[STATISTIC_NUM_SLOTS] |
Definition at line 165 of file vacuum.h.
Referenced by compute_array_stats(), compute_range_stats(), compute_tsvector_stats(), examine_attribute(), examine_expression(), serialize_expr_stats(), and update_attstats().
| bool VacAttrStats::statypbyval[STATISTIC_NUM_SLOTS] |
Definition at line 164 of file vacuum.h.
Referenced by compute_array_stats(), compute_range_stats(), compute_tsvector_stats(), examine_attribute(), examine_expression(), serialize_expr_stats(), and update_attstats().
| Oid VacAttrStats::statypid[STATISTIC_NUM_SLOTS] |
Definition at line 162 of file vacuum.h.
Referenced by compute_array_stats(), compute_range_stats(), compute_tsvector_stats(), examine_attribute(), examine_expression(), serialize_expr_stats(), and update_attstats().
| int16 VacAttrStats::statyplen[STATISTIC_NUM_SLOTS] |
Definition at line 163 of file vacuum.h.
Referenced by compute_array_stats(), compute_range_stats(), compute_tsvector_stats(), examine_attribute(), examine_expression(), serialize_expr_stats(), and update_attstats().
| Datum* VacAttrStats::stavalues[STATISTIC_NUM_SLOTS] |
Definition at line 154 of file vacuum.h.
Referenced by compute_array_stats(), compute_distinct_stats(), compute_range_stats(), compute_scalar_stats(), compute_tsvector_stats(), serialize_expr_stats(), and update_attstats().
| int32 VacAttrStats::stawidth |
Definition at line 146 of file vacuum.h.
Referenced by compute_distinct_stats(), compute_range_stats(), compute_scalar_stats(), compute_trivial_stats(), compute_tsvector_stats(), serialize_expr_stats(), and update_attstats().
| int VacAttrStats::tupattnum |
Definition at line 171 of file vacuum.h.
Referenced by compute_expr_stats(), compute_index_stats(), do_analyze_rel(), examine_attribute(), examine_expression(), std_fetch_func(), and update_attstats().
| TupleDesc VacAttrStats::tupDesc |
Definition at line 173 of file vacuum.h.
Referenced by do_analyze_rel(), lookup_var_attr_stats(), make_build_data(), and std_fetch_func().