pggeodb.nancy.inra.fr/db_robot - db_robot on pggeodb.nancy.inra.fr
Previous topic Chapter index Next topic

Function: _st_summarystats

 

 

Schema

public

 

Owner

postgres

 

Descriptions

There is no description for function _st_summarystats

 

Options

Option

Value

Returns

public.summarystats

Language

plpgsql

Parameters

rastertable text

rastercolumn text

nband integer = 1

exclude_nodata_value boolean = true

sample_percent double precision = 1

 

Definition

CREATE OR REPLACE FUNCTION public._st_summarystats (
 rastertable text,
 rastercolumn text,
 nband integer = 1,
 exclude_nodata_value boolean = true,
 sample_percent double precision = 1
)
RETURNS public.summarystats AS
$span$
DECLARE

stats summarystats;
BEGIN
EXECUTE
'SELECT (stats).* FROM (SELECT public.ST_SummaryStatsAgg('
|| quote_ident($2) || ', '
|| $3 || ', '
|| $4 || ', '
|| $5 || ') AS stats '
|| 'FROM ' || quote_ident($1)
|| ') foo'
INTO stats;
RETURN stats;
END;
$span$
LANGUAGE
'plpgsql'
IMMUTABLE
CALLED ON NULL INPUT
SECURITY INVOKER
COST
100;

This file was generated with SQL Manager for PostgreSQL (www.pgsqlmanager.com) at 26/02/2014 11:51
Previous topic Chapter index Next topic