Opened 3 years ago
Closed 3 years ago
#4999 closed defect (fixed)
Crash in ST_ASFlatGeobuf
Reported by: | robe | Owned by: | Björn Harrtell |
---|---|---|---|
Priority: | medium | Milestone: | PostGIS 3.2.0 |
Component: | postgis | Version: | master |
Keywords: | Cc: |
Description
SELECT ST_AsFlatGeobuf(foo1)OVER() 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 LIMIT 10;
Crashes without the OVER() clause too.
Note:
See TracTickets
for help on using tickets.
I believe the problem is that I'm not considering empty geometry.