Opened 15 months ago
Closed 15 months ago
#5517 closed defect (fixed)
ERROR: cannot drop function st_count(text,text,integer,boolean) because other objects depend on it
Reported by: | strk | Owned by: | robe |
---|---|---|---|
Priority: | medium | Milestone: | PostGIS 3.4.1 |
Component: | raster | Version: | 3.4.x |
Keywords: | upgrade | Cc: |
Description
This happens upgrading from 3.0.9dev to 3.5.0dev Upgrading from 3.1.6dev and later are fine
Change History (6)
comment:1 by , 15 months ago
comment:2 by , 15 months ago
Problem shown in https://woodie.osgeo.org/repos/30/pipeline/899/9#L9231
comment:3 by , 15 months ago
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
comment:4 by , 15 months ago
According to https://postgis.net/docs/en/RT_ST_Count.html the function signature was replaced by the ST_CountAgg aggregate.
comment:6 by , 15 months ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
Closed by [e428b70577bd51d3924346d9f0124a6d37ef4ff8/git] in 3.4 branch (3.4.1dev)
PR https://git.osgeo.org/gitea/postgis/postgis/pulls/145 should enable CI to show this problem