PostGIS  2.5.7dev-r@@SVN_REVISION@@
rtpg_statistics.c File Reference
#include <postgres.h>
#include <fmgr.h>
#include <utils/builtins.h>
#include "utils/lsyscache.h"
#include "utils/array.h"
#include "catalog/pg_type.h"
#include <executor/spi.h>
#include <funcapi.h>
#include "../../postgis_config.h"
#include "access/htup_details.h"
#include "rtpostgis.h"
Include dependency graph for rtpg_statistics.c:

Go to the source code of this file.

Data Structures

struct  rtpg_summarystats_arg_t
 

Macros

#define VALUES_LENGTH   6
 
#define VALUES_LENGTH   4
 
#define VALUES_LENGTH   2
 
#define VALUES_LENGTH   3
 

Typedefs

typedef struct rtpg_summarystats_arg_trtpg_summarystats_arg
 

Functions

Datum RASTER_summaryStats (PG_FUNCTION_ARGS)
 
Datum RASTER_summaryStatsCoverage (PG_FUNCTION_ARGS)
 
Datum RASTER_summaryStats_transfn (PG_FUNCTION_ARGS)
 
Datum RASTER_summaryStats_finalfn (PG_FUNCTION_ARGS)
 
Datum RASTER_histogram (PG_FUNCTION_ARGS)
 
Datum RASTER_histogramCoverage (PG_FUNCTION_ARGS)
 
Datum RASTER_quantile (PG_FUNCTION_ARGS)
 
Datum RASTER_quantileCoverage (PG_FUNCTION_ARGS)
 
Datum RASTER_valueCount (PG_FUNCTION_ARGS)
 
Datum RASTER_valueCountCoverage (PG_FUNCTION_ARGS)
 
 PG_FUNCTION_INFO_V1 (RASTER_summaryStats)
 Get summary stats of a band. More...
 
 PG_FUNCTION_INFO_V1 (RASTER_summaryStatsCoverage)
 Get summary stats of a coverage for a specific band. More...
 
static void rtpg_summarystats_arg_destroy (rtpg_summarystats_arg arg)
 
static rtpg_summarystats_arg rtpg_summarystats_arg_init ()
 
 PG_FUNCTION_INFO_V1 (RASTER_summaryStats_transfn)
 
 PG_FUNCTION_INFO_V1 (RASTER_summaryStats_finalfn)
 
 PG_FUNCTION_INFO_V1 (RASTER_histogram)
 Returns histogram for a band. More...
 
 PG_FUNCTION_INFO_V1 (RASTER_histogramCoverage)
 Returns histogram of a coverage for a specified band. More...
 
 PG_FUNCTION_INFO_V1 (RASTER_quantile)
 Returns quantiles for a band. More...
 
 PG_FUNCTION_INFO_V1 (RASTER_quantileCoverage)
 Returns selected quantiles of a coverage for a specified band. More...
 
 PG_FUNCTION_INFO_V1 (RASTER_valueCount)
 
 PG_FUNCTION_INFO_V1 (RASTER_valueCountCoverage)