[postgis-devel] [PostGIS] #210: segmentation faults in lwgeom_geos.c:pgis_union_geometry_array

PostGIS trac at osgeo.org
Mon Jun 29 07:25:41 PDT 2009


#210: segmentation faults in lwgeom_geos.c:pgis_union_geometry_array
------------------------+---------------------------------------------------
  Reporter:  dfuhriman  |       Owner:  robe         
      Type:  defect     |      Status:  assigned     
  Priority:  medium     |   Milestone:  postgis 1.3.7
 Component:  postgis    |     Version:  trunk        
Resolution:             |    Keywords:               
------------------------+---------------------------------------------------
Comment (by robe):

 Mark,

 Still not quite right.

 I can do this on PostgreSQL 8.4 now

 SELECt ST_Union(ARRAY[null,null,null,null]) and I correctly get null back.

 If I do
 select ST_Union(Array[ST_GeomFromText('POINT(1 2)'),null,null,null]);

 or
 SELECT ST_Union(the_geom)
 FROM (VALUES (ST_GeomFromText('POINT(1 2)') ), (null), (null) ) As
 foo(the_geom)

 I still get the same error of:

 ERROR:  Unknown geometry type: 0

-- 
Ticket URL: <http://trac.osgeo.org/postgis/ticket/210#comment:15>
PostGIS <http://trac.osgeo.org/postgis/>
PostGIS


More information about the postgis-devel mailing list