[postgis-tickets] r14692 - Remove spare function defns
Paul Ramsey
pramsey at cleverelephant.ca
Thu Feb 25 00:56:43 PST 2016
Author: pramsey
Date: 2016-02-25 00:56:42 -0800 (Thu, 25 Feb 2016)
New Revision: 14692
Modified:
trunk/postgis/geography.sql.in
Log:
Remove spare function defns
Modified: trunk/postgis/geography.sql.in
===================================================================
--- trunk/postgis/geography.sql.in 2016-02-24 18:12:24 UTC (rev 14691)
+++ trunk/postgis/geography.sql.in 2016-02-25 08:56:42 UTC (rev 14692)
@@ -742,41 +742,31 @@
AS 'SELECT geography(ST_Transform(ST_Buffer(ST_Transform(geometry($1), _ST_BestSRID($1)), $2), 4326))'
LANGUAGE 'sql' IMMUTABLE STRICT;
--- Availability: 2.1.x
+-- Availability: 2.3.x
CREATE OR REPLACE FUNCTION ST_Buffer(geography, float8, integer)
RETURNS geography
AS 'SELECT geography(ST_Transform(ST_Buffer(ST_Transform(geometry($1), _ST_BestSRID($1)), $2, $3), 4326))'
LANGUAGE 'sql' IMMUTABLE STRICT;
--- Availability: 2.1.x
+-- Availability: 2.3.x
CREATE OR REPLACE FUNCTION ST_Buffer(geography, float8, text)
RETURNS geography
AS 'SELECT geography(ST_Transform(ST_Buffer(ST_Transform(geometry($1), _ST_BestSRID($1)), $2, $3), 4326))'
LANGUAGE 'sql' IMMUTABLE STRICT;
--- Availability: 2.1.x
-CREATE OR REPLACE FUNCTION ST_Buffer(geography, float8, integer)
- RETURNS geography
- AS 'SELECT geography(ST_Transform(ST_Buffer(ST_Transform(geometry($1), _ST_BestSRID($1)), $2, $3), 4326))'
- LANGUAGE 'sql' IMMUTABLE STRICT;
-
--- Availability: 2.1.x
-CREATE OR REPLACE FUNCTION ST_Buffer(geography, float8, text)
- RETURNS geography
- AS 'SELECT geography(ST_Transform(ST_Buffer(ST_Transform(geometry($1), _ST_BestSRID($1)), $2, $3), 4326))'
- LANGUAGE 'sql' IMMUTABLE STRICT;
-
-- Availability: 1.5.0 - this is just a hack to prevent unknown from causing ambiguous name because of geography
CREATE OR REPLACE FUNCTION ST_Buffer(text, float8)
RETURNS geometry AS
$$ SELECT ST_Buffer($1::geometry, $2); $$
LANGUAGE 'sql' IMMUTABLE STRICT;
+-- Availability: 2.3.x
CREATE OR REPLACE FUNCTION ST_Buffer(text, float8, integer)
RETURNS geometry AS
$$ SELECT ST_Buffer($1::geometry, $2, $3); $$
LANGUAGE 'sql' IMMUTABLE STRICT;
+-- Availability: 2.3.x
CREATE OR REPLACE FUNCTION ST_Buffer(text, float8, text)
RETURNS geometry AS
$$ SELECT ST_Buffer($1::geometry, $2, $3); $$
More information about the postgis-tickets
mailing list