From: Sandro Santilli Date: Fri, 15 Aug 2014 15:17:08 +0000 (+0000) Subject: Raise cost of ST_ConvexHull(raster) from 1 to 300 (#2895) X-Git-Tag: 2.2.0rc1~889 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=92a8e4e05d62cf8159ab041bbd4a9214cb551277;p=postgis Raise cost of ST_ConvexHull(raster) from 1 to 300 (#2895) git-svn-id: http://svn.osgeo.org/postgis/trunk@12888 b70326c6-7e19-0410-871a-916f4a2858ee --- diff --git a/raster/rt_pg/rtpostgis.sql.in b/raster/rt_pg/rtpostgis.sql.in index be8ca49a8..d769c1e88 100644 --- a/raster/rt_pg/rtpostgis.sql.in +++ b/raster/rt_pg/rtpostgis.sql.in @@ -117,10 +117,13 @@ CREATE OR REPLACE FUNCTION st_envelope(raster) AS 'MODULE_PATHNAME','RASTER_envelope' LANGUAGE 'c' IMMUTABLE STRICT; +-- Availability: 2.0.0 +-- Changed: 2.1.4 raised cost CREATE OR REPLACE FUNCTION st_convexhull(raster) RETURNS geometry AS 'MODULE_PATHNAME','RASTER_convex_hull' - LANGUAGE 'c' IMMUTABLE STRICT; + LANGUAGE 'c' IMMUTABLE STRICT + COST 300; CREATE OR REPLACE FUNCTION st_minconvexhull( rast raster,