[PostGIS] #5478: ST_GeometryN should thrown an error when requesting the 0th geometry
PostGIS
trac at osgeo.org
Thu Jan 11 14:43:09 PST 2024
#5478: ST_GeometryN should thrown an error when requesting the 0th geometry
--------------------------+---------------------------
Reporter: jgh | Owner: pramsey
Type: enhancement | Status: new
Priority: low | Milestone: PostGIS 3.5.0
Component: postgis | Version: 3.3.x
Resolution: | Keywords:
--------------------------+---------------------------
Comment (by pramsey):
In general we have found that less "exception throwy" approaches are more
beloved than approaches that stop the flow of the SQL statement. The issue
being that the whole SQL statement stops, and you have no idea what
particular issue stopped it. So exception throwy things tend to be hostile
to end users.
--
Ticket URL: <https://trac.osgeo.org/postgis/ticket/5478#comment:2>
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