From 5c31b7b19d904a1a1be3b58d361204cc06ed1d51 Mon Sep 17 00:00:00 2001 From: Sandro Santilli Date: Mon, 5 Mar 2012 11:05:34 +0000 Subject: [PATCH] _ST_MinTolerance isn't IMMUTABLE, due to db lookup... git-svn-id: http://svn.osgeo.org/postgis/trunk@9396 b70326c6-7e19-0410-871a-916f4a2858ee --- topology/sql/populate.sql.in.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/topology/sql/populate.sql.in.c b/topology/sql/populate.sql.in.c index d878049d2..eba03d0f6 100644 --- a/topology/sql/populate.sql.in.c +++ b/topology/sql/populate.sql.in.c @@ -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; -- } --{ -- 2.40.0