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

Function: st_findextent

 

 

Schema

public

 

Owner

postgres

 

Descriptions

There is no description for function st_findextent

 

Options

Option

Value

Returns

public.box2d

Language

plpgsql

Parameters

text

text

 

Definition

CREATE OR REPLACE FUNCTION public.st_findextent (
 text,
 text
)
RETURNS public.box2d AS
$span$
DECLARE

tablename alias for $1;
columnname alias for $2;
myrec RECORD;

BEGIN
FOR
myrec IN EXECUTE 'SELECT public.ST_Extent("' || columnname || '") As extent FROM "' || tablename || '"' LOOP
return myrec.extent;
END LOOP;
END;
$span$
LANGUAGE
'plpgsql'
IMMUTABLE
RETURNS NULL 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
Previous topic Chapter index Next topic