34#ifndef __SPAN_ANALYZE_H__
35#define __SPAN_ANALYZE_H__
40#include <commands/vacuum.h>
41#include <statistics/extended_stats_internal.h>
43#include "general/span.h"
51#define STATISTIC_KIND_VALUE_BOUNDS_HISTOGRAM 8
52#define STATISTIC_KIND_VALUE_LENGTH_HISTOGRAM 9
53#define STATISTIC_KIND_TIME_BOUNDS_HISTOGRAM 10
54#define STATISTIC_KIND_TIME_LENGTH_HISTOGRAM 11
64 void (*func)(VacAttrStats *, AnalyzeAttrFetchFunc,
int,
double));
double float8
Definition: c.h:570
uintptr_t Datum
Definition: pg_ext_defs.in.h:4
void span_compute_stats_generic(VacAttrStats *stats, int non_null_cnt, int *slot_idx, SpanBound *lowers, SpanBound *uppers, float8 *lengths, bool valuedim)
Compute statistics for time type columns and for the time dimension of all temporal types whose subty...
Definition: span_analyze.c:91
int float8_qsort_cmp(const void *a1, const void *a2)
Functions for gathering statistics from time type columns.
Definition: span_analyze.c:66
Datum set_analyze(FunctionCallInfo fcinfo, void(*func)(VacAttrStats *, AnalyzeAttrFetchFunc, int, double))
Basic routines for spans (a.k.a.
Definition: span.h:50