]> granicus.if.org Git - postgis/commitdiff
ST_SnapToGrid SQL functions were referencing the deprecated SnapToGrid instead of...
authorKevin Neufeld <kneufeld.ca@gmail.com>
Thu, 26 Jun 2008 02:40:09 +0000 (02:40 +0000)
committerKevin Neufeld <kneufeld.ca@gmail.com>
Thu, 26 Jun 2008 02:40:09 +0000 (02:40 +0000)
git-svn-id: http://svn.osgeo.org/postgis/trunk@2812 b70326c6-7e19-0410-871a-916f4a2858ee

lwgeom/lwpostgis.sql.in.c

index 2f2eda46c861e7b9d9d7224fd2cd660fb83ad4e1..1736935d1ef49eea7d7f075c0241029bdc6b6061 100644 (file)
@@ -3398,7 +3398,7 @@ CREATEFUNCTION SnapToGrid(geometry, float8, float8)
 -- 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 @@ CREATEFUNCTION SnapToGrid(geometry, float8)
 -- 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)