[postgis-tickets] [PostGIS] #5396: postgis_restore.pl keeps FUNCTION _st_concavehull(geometry)
PostGIS
trac at osgeo.org
Mon Jun 5 03:34:35 PDT 2023
#5396: postgis_restore.pl keeps FUNCTION _st_concavehull(geometry)
-----------------------------------+---------------------------
Reporter: strk | Owner: strk
Type: defect | Status: new
Priority: medium | Milestone: PostGIS 3.4.0
Component: build/upgrade/install | Version: master
Keywords: |
-----------------------------------+---------------------------
I've taken a dump of a database loaded with non-extension core, topology
and raster sql files from 3.0.9dev.
Upon restoring it with postgis_restore.pl here's the KEEP list:
{{{
KEEP: FUNCTION _st_concavehull(geometry)
KEEP: TABLEDATA layer
KEEP: TABLEDATA topology
KEEP: SEQUENCE_SET topology_id_seq
}}}
This probably means we're missing a drop of the old signature.
The postgis.sql.in file contains a DROP of the _st_concavehull(geometry)
function, protected by a POSTGIS_GEOS_VERSION conditional, as for older
geos we'll have a DIFFERENT signature, making upgrades harder to handle.
I think we should always provide the SAME signature, and internally
complain if a parameter is passed that we cannot handle due to lack of
GEOS.
--
Ticket URL: <https://trac.osgeo.org/postgis/ticket/5396>
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