Opened 13 years ago

Closed 13 years ago

Last modified 13 years ago

#729 closed defect (fixed)

ST_MakeLine aggregate function crashes with empty geometries

Reported by: robe Owned by: pramsey
Priority: medium Milestone: PostGIS 2.0.0
Component: postgis Version: master
Keywords: Cc:

Description

This is with gserialized defined.

-- ST_MakeLine aggregate crashes with empty geometries 
SELECT ST_MakeLine(foo1.the_geom) As result
							FROM ((SELECT ST_GeomFromText('POINT EMPTY',4326) As the_geom
			UNION ALL SELECT ST_GeomFromText('MULTIPOINT EMPTY',4326) As the_geom
			UNION ALL SELECT ST_GeomFromText('MULTIPOLYGON EMPTY',4326) As the_geom
			UNION ALL SELECT ST_GeomFromText('LINESTRING EMPTY',4326) As the_geom
			UNION ALL SELECT ST_GeomFromText('MULTILINESTRING EMPTY',4326) As the_geom ) ) As foo1

Change History (2)

comment:1 by pramsey, 13 years ago

Resolution: fixed
Status: newclosed

Fixed at r6515

comment:2 by strk, 13 years ago

I've found a reference to this ticket in the regress/tickets.sql, but it is commented out. @pramsey: forgot to re-enable ?

Note: See TracTickets for help on using tickets.