Schema
Owner
postgres
Descriptions
There is no description for function _st_summarystats
Options
Option | Value |
---|---|
Returns |
public.summarystats |
Language |
|
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 13/03/2014 13:23 |