[postgis-tickets] [PostGIS] #5519: ERROR: cannot drop function st_setvalue(raster, integer, geometry, double precision) because other objects depend on it

PostGIS trac at osgeo.org
Thu Aug 31 05:53:19 PDT 2023


#5519: ERROR:  cannot drop function st_setvalue(raster,integer,geometry,double
precision) because other objects depend on it
--------------------+---------------------------
 Reporter:  strk    |      Owner:  robe
     Type:  defect  |     Status:  new
 Priority:  medium  |  Milestone:  PostGIS 3.4.1
Component:  raster  |    Version:  3.4.x
 Keywords:          |
--------------------+---------------------------
 To reproduce, comment out the `st_setvalue` lins in regress/hooks/use-all-
 functions.sql and run:

 > make -C raster/test/regress check-locked-upgrade RUNTESTFLAGS='-v'

 The current signature is:
 {{{
 raster/rt_pg/rtpostgis.sql.in:5077:
 CREATE OR REPLACE FUNCTION ST_SetValue(
     rast raster, nband integer,
     geom geometry, newvalue double precision
 )
 }}}

 That signature was the same up to 2.1.0
 but in 2.0 has the geometry attribute called 'pt' instead of 'geom'
-- 
Ticket URL: <https://trac.osgeo.org/postgis/ticket/5519>
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