pggeodb-preprod.nancy.inra.fr/db_peuplier 
Previous topic Chapter index Next topic

Domain: topoelement

 

 

Schema

topology

 

Owner

postgres

 

Descriptions

There is no description for domain topoelement

 

Definition

CREATE DOMAIN topology.topoelement AS
 integer[] NULL;

ALTER DOMAIN topology.topoelement
 ADD CONSTRAINT dimensions CHECK ((array_upper(VALUE, 2) IS NULL) AND (array_upper(VALUE, 1) = 2));

ALTER DOMAIN topology.topoelement
 ADD CONSTRAINT lower_dimension CHECK (array_lower(VALUE, 1) = 1);

ALTER DOMAIN topology.topoelement
 ADD CONSTRAINT type_range CHECK ((VALUE)[2] > 0);

This file was generated with SQL Manager for PostgreSQL (www.pgsqlmanager.com) at 13/03/2014 13:23
Previous topic Chapter index Next topic