[PostGIS] #5793: Crash on Buffer of Empty array

PostGIS trac at osgeo.org
Wed Oct 9 10:18:03 PDT 2024


#5793: Crash on Buffer of Empty array
----------------------+---------------------------
  Reporter:  pramsey  |      Owner:  pramsey
      Type:  defect   |     Status:  new
  Priority:  medium   |  Milestone:  PostGIS 3.5.1
 Component:  postgis  |    Version:  3.4.x
Resolution:           |   Keywords:
----------------------+---------------------------
Comment (by robe):

 Hmm this is interesting:

 -- this doesn't crash
 {{{
 select st_buffer(st_collect(array_agg(tab.shape::geometry))::geography,
 10.0) from tab
 }}}

 Not sure why the order of casting should matter
-- 
Ticket URL: <https://trac.osgeo.org/postgis/ticket/5793#comment:3>
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