[postgis-tickets] [PostGIS] #3372: TopoElementArray cannot be null

PostGIS trac at osgeo.org
Fri Nov 20 08:53:47 PST 2015


#3372: TopoElementArray cannot be null
----------------------+---------------------------
 Reporter:  strk      |      Owner:  strk
     Type:  defect    |     Status:  new
 Priority:  medium    |  Milestone:  PostGIS 2.0.8
Component:  topology  |    Version:  2.0.x
 Keywords:            |
----------------------+---------------------------
 Trying to GetTopoElementArray for an empty TopoGeometry fails due to NULL
 not passing the TopoElementArray domain constraint:

 {{{
 t=# select null::topoelementarray;
 ERROR:  value for domain topoelementarray violates check constraint
 "dimensions"
 }}}

 I think the check should allow for null...

--
Ticket URL: <https://trac.osgeo.org/postgis/ticket/3372>
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-tickets mailing list