MobilityDB 1.1
Functions
span_analyze.c File Reference
#include "pg_general/span_analyze.h"
#include <assert.h>
#include <postgres.h>
#include <fmgr.h>
#include <catalog/pg_operator.h>
#include <utils/typcache.h>
#include <meos.h>
#include <meos_internal.h>
#include "general/set.h"
#include "pg_general/meos_catalog.h"
Include dependency graph for span_analyze.c:

Functions

int float8_qsort_cmp (const void *a1, const void *a2)
 Functions for gathering statistics from time type columns. More...
 
PGDLLEXPORT Datum Span_analyze (PG_FUNCTION_ARGS)
 Compute statistics for span columns. More...
 
static void span_compute_stats (VacAttrStats *stats, AnalyzeAttrFetchFunc fetchfunc, int samplerows, double totalrows)
 Compute statistics for set, span, and span set columns. More...
 
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 subtype is not instant. More...