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

Function: _drop_raster_constraint_blocksize

 

 

Schema

public

 

Owner

albenard

 

Descriptions

There is no description for function _drop_raster_constraint_blocksize

 

Options

Option

Value

Returns

boolean

Language

plpgsql

Parameters

rastschema name

rasttable name

rastcolumn name

axis text

 

Definition

CREATE OR REPLACE FUNCTION public._drop_raster_constraint_blocksize (
 rastschema name,
 rasttable name,
 rastcolumn name,
 axis text
)
RETURNS boolean AS
$span$
BEGIN
IF
lower($4) != 'width' AND lower($4) != 'height' THEN
RAISE EXCEPTION
'axis must be either "width" or "height"';
RETURN FALSE;
END IF;

RETURN  public._drop_raster_constraint($1, $2, 'enforce_' || $4 || '_' || $3);
END;
$span$
LANGUAGE
'plpgsql'
VOLATILE
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