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

Function: _drop_raster_constraint_scale

 

 

Schema

public

 

Owner

postgres

 

Descriptions

There is no description for function _drop_raster_constraint_scale

 

Options

Option

Value

Returns

boolean

Language

plpgsql

Parameters

rastschema name

rasttable name

rastcolumn name

axis char

 

Definition

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

RETURN  public._drop_raster_constraint($1, $2, 'enforce_scale' || $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 13/03/2014 13:23
Previous topic Chapter index Next topic