[postgis-tickets] [PostGIS] #4331: ST_3DMakeBox crashes on POINT EMPTY

PostGIS trac at osgeo.org
Mon Feb 25 14:41:37 PST 2019


#4331: ST_3DMakeBox crashes on POINT EMPTY
----------------------+---------------------------
  Reporter:  robe     |      Owner:  pramsey
      Type:  defect   |     Status:  closed
  Priority:  blocker  |  Milestone:  PostGIS 3.0.0
 Component:  postgis  |    Version:  2.4.x
Resolution:  fixed    |   Keywords:
----------------------+---------------------------
Changes (by robe):

 * status:  new => closed
 * resolution:   => fixed


Comment:

 In [changeset:"17281" 17281]:
 {{{
 #!CommitTicketReference repository="" revision="17281"
 Get rid of assert causing ST_3DMakeBox to crash
 Change ST_3DMakeBox to throw an error when fed empty points instead of
 returning a philosophical answer to a stupid question
 Change ST_MakeBox2D to return a more meaningful error instead waiting to
 fail when asking what is x of an empty point?
 Closes #4331 for PostGIS 3.0
 }}}

-- 
Ticket URL: <https://trac.osgeo.org/postgis/ticket/4331#comment:6>
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