]> granicus.if.org Git - postgis/commitdiff
_ST_MinTolerance isn't IMMUTABLE, due to db lookup...
authorSandro Santilli <strk@keybit.net>
Mon, 5 Mar 2012 11:05:34 +0000 (11:05 +0000)
committerSandro Santilli <strk@keybit.net>
Mon, 5 Mar 2012 11:05:34 +0000 (11:05 +0000)
git-svn-id: http://svn.osgeo.org/postgis/trunk@9396 b70326c6-7e19-0410-871a-916f4a2858ee

topology/sql/populate.sql.in.c

index d878049d2073b771d2803055fd04adba1f463a49..eba03d0f62881a4894ec6165f05b37f479e7aff8 100644 (file)
@@ -43,6 +43,7 @@ $$ LANGUAGE 'SQL' IMMUTABLE STRICT;
 -- {
 -- Get tolerance for a given topology
 -- and if zero the min for a given topology
+--
 -- }{
 CREATE OR REPLACE FUNCTION topology._st_mintolerance(atopology varchar, ageom Geometry)
   RETURNS float8
@@ -52,7 +53,7 @@ AS $$
     topology._st_mintolerance($2))
   FROM topology.topology
   WHERE name = $1;
-$$ LANGUAGE 'SQL' IMMUTABLE STRICT;
+$$ LANGUAGE 'SQL' STABLE STRICT;
 -- }
 
 --{