From: Regina Obe Date: Fri, 6 Jan 2012 15:35:02 +0000 (+0000) Subject: Accidentally took out ST_WKTToSQL during #1443. ST_WKTToSQL is documented SQL/MM... X-Git-Tag: 2.0.0alpha1~189 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=ba5717327abd3586c4fd8baea5e92dbae8f8c491;p=postgis Accidentally took out ST_WKTToSQL during #1443. ST_WKTToSQL is documented SQL/MM alias (extension didn't install as a result since the documentation comment installation failed) git-svn-id: http://svn.osgeo.org/postgis/trunk@8686 b70326c6-7e19-0410-871a-916f4a2858ee --- diff --git a/postgis/postgis.sql.in.c b/postgis/postgis.sql.in.c index e9059601f..835ed5517 100644 --- a/postgis/postgis.sql.in.c +++ b/postgis/postgis.sql.in.c @@ -3579,6 +3579,13 @@ CREATE OR REPLACE FUNCTION ST_GeomFromText(text, int4) RETURNS geometry AS 'MODULE_PATHNAME','LWGEOM_from_text' LANGUAGE 'C' IMMUTABLE STRICT; + +-- PostGIS equivalent function: ST_GeometryFromText(text) +-- SQL/MM alias for ST_GeomFromText +CREATE OR REPLACE FUNCTION ST_WKTToSQL(text) + RETURNS geometry + AS 'MODULE_PATHNAME','LWGEOM_from_text' + LANGUAGE 'C' IMMUTABLE STRICT; -- Availability: 1.2.2 CREATE OR REPLACE FUNCTION ST_PointFromText(text)