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

PostGIS trac at osgeo.org
Tue Jun 30 14:31:26 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 mcayland):

 Okay - here is a reasonably complete patch which should fix the following
 aggregates/functions in terms of NULLs:

 ST_Union() / ST_Union( array )
 ST_Collect() / ST_Collect ( array )
 ST_Polygonize() / ST_Polygonize ( array )
 ST_MakeLine() / ST_MakeLine ( array )

 Regina/Paul, can you test at your end? I've done some quick tests here,
 however I'm not 100% confident enough to commit yet. Basically inputs with
 no nulls should match that from 1.3, while inputs with varying
 combinations of NULLs (and on a table with a column containing NULLs as
 this is a different code path) should just now return NULL.


 ATB,

 Mark.

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


More information about the postgis-devel mailing list