MobilityDB  1.0
Macros | Functions
tpoint_selfuncs.h File Reference
#include <postgres.h>
#include <catalog/pg_statistic.h>
#include <utils/selfuncs.h>
#include "general/tempcache.h"
#include "tpoint.h"
#include "tpoint_analyze.h"
Include dependency graph for tpoint_selfuncs.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define X_DIM   0
 The maximum number of dimensions our code can handle. More...
 
#define Y_DIM   1
 
#define Z_DIM   2
 
#define T_DIM   3
 
#define ND_DIMS   4
 
#define SDFACTOR   3.25
 
#define MIN_DIMENSION_WIDTH   0.000000001
 Minimum width of a dimension that we'll bother trying to compute statistics on. More...
 
#define STATISTIC_KIND_ND   102
 
#define STATISTIC_KIND_2D   103
 
#define STATISTIC_SLOT_ND   0
 
#define STATISTIC_SLOT_2D   1
 
#define FALLBACK_ND_SEL   0.2
 More modest fallafter selectivity factor. More...
 
#define FALLBACK_ND_JOINSEL   0.3
 

Functions

Datum tpoint_sel (PG_FUNCTION_ARGS)
 Estimate the join selectivity value of the operators for temporal points. More...
 
Datum tpoint_joinsel (PG_FUNCTION_ARGS)
 Estimate the join selectivity value of the operators for temporal points. More...