MobilityDB 1.3
Loading...
Searching...
No Matches
Macros | Functions
span_analyze.h File Reference
#include <postgres.h>
#include <fmgr.h>
#include <commands/vacuum.h>
#include <statistics/extended_stats_internal.h>
#include "temporal/span.h"

Go to the source code of this file.

Macros

#define STATISTIC_KIND_TIME_BOUNDS_HISTOGRAM   10
 
#define STATISTIC_KIND_TIME_LENGTH_HISTOGRAM   11
 
#define STATISTIC_KIND_VALUE_BOUNDS_HISTOGRAM   8
 Functions for gathering statistics from time type columns. More...
 
#define STATISTIC_KIND_VALUE_LENGTH_HISTOGRAM   9
 

Functions

Datum set_analyze (FunctionCallInfo fcinfo, void(*func)(VacAttrStats *, AnalyzeAttrFetchFunc, int, double))
 
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 span type columns and for the time dimension of temporal types whose subtype is not instant. More...