[postgis-devel] deprecation time?

Paul Ramsey pramsey at cleverelephant.ca
Thu Mar 7 08:48:35 PST 2019


There’s quite a few of these in postgis.sql.in

-- Availability: 1.2.2
-- Deprecation in 2.2.0
CREATE OR REPLACE FUNCTION ST_distance_spheroid(geom1 geometry, geom2 geometry,spheroid)
	RETURNS FLOAT8 AS
  $$ SELECT @extschema at ._postgis_deprecate('ST_Distance_Spheroid', 'ST_DistanceSpheroid', '2.2.0');
    SELECT @extschema at .ST_DistanceSpheroid($1,$2,$3);
  $$
	LANGUAGE 'sql' IMMUTABLE STRICT _PARALLEL;


Since we’re going to 3.0, seems like an opportune time to move them to legacy?

P


More information about the postgis-devel mailing list