MobilityDB 1.1
|
#include "pg_general/temporal_analyze.h"
#include <assert.h>
#include <math.h>
#include <postgres.h>
#include <fmgr.h>
#include <access/tuptoaster.h>
#include <catalog/pg_collation_d.h>
#include <catalog/pg_operator_d.h>
#include <commands/vacuum.h>
#include <parser/parse_oper.h>
#include <utils/datum.h>
#include <utils/lsyscache.h>
#include <utils/timestamp.h>
#include <utils/typcache.h>
#include <meos.h>
#include <meos_internal.h>
#include "pg_general/meos_catalog.h"
#include "pg_general/span_analyze.h"
#include "pg_general/temporal.h"
Macros | |
#define | TEMPORAL_WIDTH_THRESHOLD 4096 |
Functions for gathering statistics from temporal alphanumeric columns. More... | |
Functions | |
Datum | temporal_analyze (FunctionCallInfo fcinfo, void(*func)(VacAttrStats *, AnalyzeAttrFetchFunc, int, double)) |
Generic analyze function for temporal columns. More... | |
PGDLLEXPORT Datum | Temporal_analyze (PG_FUNCTION_ARGS) |
Compute the statistics for temporal columns where only the time dimension is considered. More... | |
static void | temporal_compute_stats (VacAttrStats *stats, AnalyzeAttrFetchFunc fetchfunc, int samplerows, double totalrows) |
Compute statistics for alphanumeric temporal columns. More... | |
static void | temporal_extra_info (VacAttrStats *stats) |
Collect extra information about the temporal type and its base and time types. More... | |
Variables | |
TemporalAnalyzeExtraData * | temporal_extra_data |