[postgis-commits] svn - r2812 - trunk/lwgeom
postgis-commits at postgis.refractions.net
postgis-commits at postgis.refractions.net
Wed Jun 25 19:40:10 PDT 2008
Author: kneufeld
Date: 2008-06-25 19:40:09 -0700 (Wed, 25 Jun 2008)
New Revision: 2812
Modified:
trunk/lwgeom/lwpostgis.sql.in.c
Log:
ST_SnapToGrid SQL functions were referencing the deprecated SnapToGrid instead of their ST_.. equivalents.
Modified: trunk/lwgeom/lwpostgis.sql.in.c
===================================================================
--- trunk/lwgeom/lwpostgis.sql.in.c 2008-06-24 16:12:56 UTC (rev 2811)
+++ trunk/lwgeom/lwpostgis.sql.in.c 2008-06-26 02:40:09 UTC (rev 2812)
@@ -3398,7 +3398,7 @@
-- Availability: 1.2.2
CREATEFUNCTION ST_SnapToGrid(geometry, float8, float8)
RETURNS geometry
- AS 'SELECT SnapToGrid($1, 0, 0, $2, $3)'
+ AS 'SELECT ST_SnapToGrid($1, 0, 0, $2, $3)'
LANGUAGE 'SQL' _IMMUTABLE_STRICT; -- WITH (isstrict,iscachable);
-- SnapToGrid(input, size) # xsize=ysize=size, offsets=0
@@ -3411,7 +3411,7 @@
-- Availability: 1.2.2
CREATEFUNCTION ST_SnapToGrid(geometry, float8)
RETURNS geometry
- AS 'SELECT SnapToGrid($1, 0, 0, $2, $2)'
+ AS 'SELECT ST_SnapToGrid($1, 0, 0, $2, $2)'
LANGUAGE 'SQL' _IMMUTABLE_STRICT; -- WITH (isstrict,iscachable);
-- SnapToGrid(input, point_offsets, xsize, ysize, zsize, msize)
More information about the postgis-commits
mailing list