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

Function: _raster_constraint_info_regular_blocking

 

 

Schema

public

 

Owner

postgres

 

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(_raster_constraint_info_coverage_tile($1, $2, $3), FALSE);

-- spatially unique constraint
spunique := COALESCE(_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 13/03/2014 13:23
Previous topic Chapter index Next topic