[postgis-tickets] [PostGIS] #5486: Upgrade from 3.2.1 fails due to deprecating two flavors of st_dwithin

PostGIS trac at osgeo.org
Mon Aug 28 07:02:11 PDT 2023


#5486: Upgrade from 3.2.1  fails due to deprecating two flavors of st_dwithin
------------------------------------+---------------------------
  Reporter:  strk                   |      Owner:  strk
      Type:  defect                 |     Status:  new
  Priority:  medium                 |  Milestone:  PostGIS 3.3.5
 Component:  build/upgrade/install  |    Version:  3.3.x
Resolution:                         |   Keywords:
------------------------------------+---------------------------
Comment (by strk):

 The target function name is indeed the same no matter different argument
 names:

 {{{
 # grep 'RENAME TO st_dwithin_deprecated_by' postgis/postgis_upgrade.sql
 ALTER FUNCTION st_dwithin( text, text, float8 ) RENAME TO
 st_dwithin_deprecated_by_postgis_300;
 ALTER FUNCTION st_dwithin( geography, geography, float8 ) RENAME TO
 st_dwithin_deprecated_by_postgis_300;
 }}}

 Judging by the name of the target function this bug might be affecting
 3.0.0 as well, it should be verified. I don't know why CI isn't catching
 these.
-- 
Ticket URL: <https://trac.osgeo.org/postgis/ticket/5486#comment:1>
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