[postgis-tickets] [PostGIS] #5494: st_dwithin(text, text, float8) is marked as deprecated and installed by the same postgis version

PostGIS trac at osgeo.org
Tue Aug 29 08:20:29 PDT 2023


#5494: st_dwithin(text,text,float8) is marked as deprecated and installed by the
same postgis version
-----------------------+----------------------------------------------
  Reporter:  strk      |      Owner:  pramsey
      Type:  defect    |     Status:  new
  Priority:  critical  |  Milestone:  PostGIS 3.1.10
 Component:  postgis   |    Version:  master
Resolution:            |   Keywords:  upgrade, deprecation, st_dwithin
-----------------------+----------------------------------------------
Comment (by strk):

 To complicate things, multiple definitions of ST_DWithin exist depending
 on the version of PostgreSQL PostGIS was compiled against.

 For example in stable-3.1 we have:

 {{{
 #if POSTGIS_PGSQL_VERSION >= 120
 ...
 -- Availability: 1.3.4
 -- Replaces ST_DWithin(text, text, float8) deprecated in 3.0.0
 CREATE OR REPLACE FUNCTION ST_DWithin(geom1 geometry, geom2
 geometry,float8)
 ...
 #else
 -- Availability: 1.2.2
 CREATE OR REPLACE FUNCTION ST_DWithin(geom1 geometry, geom2 geometry,
 float8)
 ...
 #endif
 }}}
-- 
Ticket URL: <https://trac.osgeo.org/postgis/ticket/5494#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