From: Paul Ramsey Date: Thu, 25 Feb 2016 08:56:42 +0000 (+0000) Subject: Remove spare function defns X-Git-Tag: 2.3.0beta1~230 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=66af4822def9c4465e135bdefbbd497bc5030c3c;p=postgis Remove spare function defns git-svn-id: http://svn.osgeo.org/postgis/trunk@14692 b70326c6-7e19-0410-871a-916f4a2858ee --- diff --git a/postgis/geography.sql.in b/postgis/geography.sql.in index 1ef38ce93..6458620aa 100644 --- a/postgis/geography.sql.in +++ b/postgis/geography.sql.in @@ -742,25 +742,13 @@ CREATE OR REPLACE FUNCTION ST_Buffer(geography, float8) 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 -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 +-- 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))' @@ -772,11 +760,13 @@ CREATE OR REPLACE FUNCTION ST_Buffer(text, float8) $$ 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); $$