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

Function: _raster_constraint_info_regular_blocking

 

 

Schema

public

 

Owner

albenard

 

Descriptions

There is no description for function _raster_constraint_info_regular_blocking

 

Options

Option

Value

Returns

boolean

Language

plpgsql

Parameters

rastschema name

rasttable name

rastcolumn name

 

Definition

CREATE OR REPLACE FUNCTION public._raster_constraint_info_regular_blocking (
 rastschema name,
 rasttable name,
 rastcolumn name
)
RETURNS boolean AS
$span$
DECLARE

covtile boolean;
spunique boolean;
BEGIN
-- check existance of constraints
-- coverage tile constraint

covtile := COALESCE( public._raster_constraint_info_coverage_tile($1, $2, $3), FALSE);

-- spatially unique constraint
spunique := COALESCE( public._raster_constraint_info_spatially_unique($1, $2, $3), FALSE);

RETURN (covtile AND spunique);
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