[postgis-tickets] [PostGIS] #3706: Use of deprecated function
PostGIS
trac at osgeo.org
Sun Apr 30 18:22:30 PDT 2017
#3706: Use of deprecated function
--------------------------+---------------------------
Reporter: postgispaul | Owner: robe
Type: defect | Status: closed
Priority: high | Milestone: PostGIS 2.3.3
Component: postgis | Version: 2.3.x
Resolution: worksforme | Keywords:
--------------------------+---------------------------
Changes (by robe):
* status: new => closed
* resolution: => worksforme
Comment:
This looks to be fixed already for ST_Extent. It was changed in PostGIS
2.2.0 the notes say.
{{{
-- Availability: 1.2.2
-- Changed: 2.2.0 to use non-deprecated ST_CombineBBox (r13535)
-- Changed: 2.3.0 to support PostgreSQL 9.6
-- Changed: 2.3.1 to support PostgreSQL 9.6 parallel safe
CREATE AGGREGATE ST_Extent(geometry) (
sfunc = ST_CombineBBox,
stype = box3d,
#if POSTGIS_PGSQL_VERSION >= 96
combinefunc = ST_CombineBBox,
parallel = safe,
#endif
finalfunc = box2d
);
}}}
I checked the current databases I have one running PostGIS 2.2.2 (I forget
what I upgraded it from) and one 2 running PostGIS 2.3.2. All have
ST_CombineBox (not ST_Combine_bbox).
So I suspect what you have here might be an upgrade issue. I think our
current upgrade drops aggregates as needed, though I haven't tested that
before. In past we would just always drop and recreate aggregates.
Also I assume your ST_Extend is a typo and you meant ST_Extent.
I'm going to dismiss this.
--
Ticket URL: <https://trac.osgeo.org/postgis/ticket/3706#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