[postgis-devel] [PostGIS] #2060: GetTopoGeomElementArray: ERROR: value for domain topoelementarray violates check constraint "dimensions"

PostGIS trac at osgeo.org
Sun Oct 21 10:11:13 PDT 2012


#2060: GetTopoGeomElementArray: ERROR:  value for domain topoelementarray violates
check constraint "dimensions"
----------------------+-----------------------------------------------------
 Reporter:  strk      |       Owner:  strk         
     Type:  defect    |      Status:  new          
 Priority:  medium    |   Milestone:  PostGIS 2.0.2
Component:  topology  |     Version:  2.0.x        
 Keywords:            |  
----------------------+-----------------------------------------------------

Comment(by strk):

 OOps, there is:
 {{{
 CREATE DOMAIN topology.TopoElement AS integer[]
   CONSTRAINT DIMENSIONS CHECK (
     array_upper(VALUE, 2) IS NULL
     AND array_upper(VALUE, 1) = 2
   );
 }}}

-- 
Ticket URL: <https://trac.osgeo.org/postgis/ticket/2060#comment:2>
PostGIS <http://trac.osgeo.org/postgis/>
The PostGIS Trac is used for bug, enhancement & task tracking, a user and developer wiki, and a view into the subversion code repository of PostGIS project.


More information about the postgis-devel mailing list