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

PostGIS trac at osgeo.org
Sun Oct 21 10:50:09 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):

 Guess what it is ? You can't have a NULL value !

 Boils down to this:
 {{{
 SELECT NULL::topology.TopoElementArray;
 }}}

 Which gives you the error:
 {{{
 ERROR:  value for domain topoelementarray violates check constraint
 "dimensions"
 }}}

 And this is as of:
 {{{
  PostgreSQL 9.1.6 on x86_64-unknown-linux-gnu, compiled by gcc
 (Ubuntu/Linaro 4.6.3-1ubuntu5) 4.6.3, 64-bit
 }}}

-- 
Ticket URL: <http://trac.osgeo.org/postgis/ticket/2060#comment:4>
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