36 #ifndef __TEMPORAL_ANALYZE_H__ 37 #define __TEMPORAL_ANALYZE_H__ 40 #include <catalog/pg_type.h> 41 #include <commands/vacuum.h> 42 #include <utils/rangetypes.h> 43 #include <parser/parse_oper.h> 44 #include <statistics/extended_stats_internal.h> 115 int samplerows,
double totalrows);
118 int samplerows,
double totalrows);
126 void (*functemp)(VacAttrStats *, AnalyzeAttrFetchFunc,
int,
double));
int first
values[] index of first occurrence
Definition: temporal_analyze.h:99
Datum generic_analyze(FunctionCallInfo fcinfo, void(*functemp)(VacAttrStats *, AnalyzeAttrFetchFunc, int, double))
Generic analyze function for temporal columns.
Definition: temporal_analyze.c:544
SortSupport ssup
Definition: temporal_analyze.h:104
Datum temporal_analyze(PG_FUNCTION_ARGS)
Compute the statistics for temporal columns where only the time dimension is considered.
Definition: temporal_analyze.c:577
Definition: temporal_analyze.h:96
void tinstant_compute_stats(VacAttrStats *stats, AnalyzeAttrFetchFunc fetchfunc, int samplerows, double totalrows)
void temporal_extra_info(VacAttrStats *stats)
Collect extra information about the temporal type and its base and time types.
Definition: temporal_analyze.c:443
int * tupnoLink
Definition: temporal_analyze.h:105
Datum tnumber_analyze(PG_FUNCTION_ARGS)
Compute the statistics for temporal number columns.
Definition: temporal_analyze.c:587
void tsequenceset_compute_stats(VacAttrStats *stats, AnalyzeAttrFetchFunc fetchfunc, int samplerows, double totalrows)
Definition: temporal_analyze.h:102
int count
Definition: temporal_analyze.h:98