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

Function: _st_count

 

 

Schema

public

 

Owner

albenard

 

Descriptions

There is no description for function _st_count

 

Options

Option

Value

Returns

bigint

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_count (
 rastertable text,
 rastercolumn text,
 nband integer = 1,
 exclude_nodata_value boolean = true,
 sample_percent double precision = 1
)
RETURNS bigint AS
$span$
DECLARE
count
bigint;
BEGIN
EXECUTE
'SELECT public.ST_CountAgg('
|| quote_ident($2) || ', '
|| $3 || ', '
|| $4 || ', '
|| $5 || ') '
|| 'FROM ' || quote_ident($1)
INTO count;
RETURN count;
END;
$span$
LANGUAGE
'plpgsql'
STABLE
RETURNS NULL 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