]> granicus.if.org Git - postgis/commitdiff
More VOLATILE -> STRICT (#955). Let's call it completed.
authorSandro Santilli <strk@keybit.net>
Mon, 13 Feb 2012 16:11:48 +0000 (16:11 +0000)
committerSandro Santilli <strk@keybit.net>
Mon, 13 Feb 2012 16:11:48 +0000 (16:11 +0000)
git-svn-id: http://svn.osgeo.org/postgis/trunk@9171 b70326c6-7e19-0410-871a-916f4a2858ee

topology/sql/predicates.sql.in.c
topology/sql/sqlmm.sql.in.c

index 1750b82e4a38cbdd931159d1e91550151c89ba40..2e0980e566db029e9236c8f3f626d9d0b494babb 100644 (file)
@@ -448,7 +448,7 @@ BEGIN
   END IF;
 END
 $$
-LANGUAGE 'plpgsql' VOLATILE STRICT;
+LANGUAGE 'plpgsql' STABLE STRICT;
 --} intersects(TopoGeometry, TopoGeometry)
 
 --{
@@ -511,6 +511,6 @@ BEGIN
   RETURN TRUE;
 END
 $$
-LANGUAGE 'plpgsql' VOLATILE STRICT;
+LANGUAGE 'plpgsql' STABLE STRICT;
 --} equals(TopoGeometry, TopoGeometry)
 
index 3e654e3d47f8e5ba81304a79a386376bcd513960..2d72f5e60ff15a44c189ad022f059f2300a9b4de 100644 (file)
@@ -141,7 +141,7 @@ EXCEPTION
     RAISE EXCEPTION 'SQL/MM Spatial exception - invalid topology name';
 END
 $$
-LANGUAGE 'plpgsql' VOLATILE;
+LANGUAGE 'plpgsql' STABLE;
 --} ST_GetFaceEdges
 
 --{
@@ -1452,7 +1452,7 @@ BEGIN
   RAISE EXCEPTION 'SQL/MM Spatial exception - non-existent face.';
 END
 $$
-LANGUAGE 'plpgsql' VOLATILE;
+LANGUAGE 'plpgsql' STABLE;
 --} ST_GetFaceGeometry
 
 
@@ -2834,7 +2834,7 @@ BEGIN
     RAISE DEBUG 'Updating contained edges';
 #endif
     ishole := false;
-  END IF;
+  END IF; -- }
 
   -- Update edges having new face on the left
   sql := 'UPDATE '