From: Sandro Santilli Date: Mon, 5 Mar 2012 11:05:34 +0000 (+0000) Subject: _ST_MinTolerance isn't IMMUTABLE, due to db lookup... X-Git-Tag: 2.0.0beta2~31 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=5c31b7b19d904a1a1be3b58d361204cc06ed1d51;p=postgis _ST_MinTolerance isn't IMMUTABLE, due to db lookup... git-svn-id: http://svn.osgeo.org/postgis/trunk@9396 b70326c6-7e19-0410-871a-916f4a2858ee --- 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; -- } --{