[postgis-tickets] [PostGIS] #5517: ERROR: cannot drop function st_count(text, text, integer, boolean) because other objects depend on it

PostGIS trac at osgeo.org
Thu Aug 31 00:18:54 PDT 2023


#5517: ERROR:  cannot drop function st_count(text,text,integer,boolean) 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
Resolution:          |   Keywords:  upgrade
---------------------+---------------------------
Comment (by strk):

 There are 2 signatures in 3.0 that have been deprecated in 3.1.0 (ref
 #4214):
 {{{
 st_count(rastertable text, rastercolumn text, nband int DEFAULT 1,
 exclude_nodata_value boolean DEFAULT TRUE)
 st_count(rastertable text, rastercolumn text, exclude_nodata_value
 boolean)
 }}}

 We'd need to threat the deprecated function the same as we do with the
 "Replaces" (ie: rename to deprecated)

 I guess we could use the same "Replaces" comment to deal with these
-- 
Ticket URL: <https://trac.osgeo.org/postgis/ticket/5517#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