[postgis-tickets] [PostGIS] #3372: TopoElementArray cannot be null
PostGIS
trac at osgeo.org
Fri Nov 20 10:57:49 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
Resolution: | Keywords:
-----------------------+---------------------------
Comment (by strk):
Now this is funny, I can create a NULL TopoElementArray like this:
{{{
SELECT topology.TopoElementArray_agg(e)::TopoElementArray IS NULL from (
SELECT '{1,1}'::TopoElement WHERE false
) as foo(e);
}}}
Now I wonder why the "dimensions" constraint only kicks in with a literal
!
This is PostgreSQL 9.3.6.
The domain definition is here:
https://trac.osgeo.org/postgis/browser/tags/2.2.0/topology/topology.sql.in#L384
--
Ticket URL: <https://trac.osgeo.org/postgis/ticket/3372#comment:1>
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