]> granicus.if.org Git - postgis/commitdiff
#2896, increase cost of _st_expand(geography) a bit
authorPaul Ramsey <pramsey@cleverelephant.ca>
Wed, 22 Jul 2015 16:06:32 +0000 (16:06 +0000)
committerPaul Ramsey <pramsey@cleverelephant.ca>
Wed, 22 Jul 2015 16:06:32 +0000 (16:06 +0000)
git-svn-id: http://svn.osgeo.org/postgis/trunk@13831 b70326c6-7e19-0410-871a-916f4a2858ee

postgis/geography.sql.in

index be9f4b99870615e8bf9f5ab684d7886a35daade9..d9d2dfb874c8aac87e8cc27372fe5931601da671 100644 (file)
@@ -541,7 +541,8 @@ CREATE OR REPLACE FUNCTION ST_Distance(text, text)
 CREATE OR REPLACE FUNCTION _ST_Expand(geography, float8)
        RETURNS geography
        AS 'MODULE_PATHNAME','geography_expand'
-       LANGUAGE 'c' IMMUTABLE STRICT;
+       LANGUAGE 'c' IMMUTABLE STRICT
+       COST 50;
 
 -- Availability: 1.5.0
 CREATE OR REPLACE FUNCTION ST_DWithin(geography, geography, float8, boolean)