]> granicus.if.org Git - postgis/commitdiff
Add SQL bindings for selectivity functions.
authorPaul Ramsey <pramsey@cleverelephant.ca>
Sun, 4 Oct 2009 01:41:32 +0000 (01:41 +0000)
committerPaul Ramsey <pramsey@cleverelephant.ca>
Sun, 4 Oct 2009 01:41:32 +0000 (01:41 +0000)
git-svn-id: http://svn.osgeo.org/postgis/trunk@4587 b70326c6-7e19-0410-871a-916f4a2858ee

postgis/geography.sql.in.c

index b00f3e1ee5f7a525a37fb8a8becdbb01ea0f9fc9..3adae321434ce98a75e38b96cac5d453441ba2d1 100644 (file)
@@ -219,6 +219,18 @@ CREATE OR REPLACE FUNCTION geography_gist_decompress(internal)
        AS 'MODULE_PATHNAME' ,'geography_gist_decompress'
        LANGUAGE 'C';
 
+-- Availability: 1.5.0
+CREATE OR REPLACE FUNCTION geography_gist_selectivity (internal, oid, internal, int4)
+       RETURNS float8
+       AS 'MODULE_PATHNAME', 'geography_gist_selectivity'
+       LANGUAGE 'C';
+
+-- Availability: 1.5.0
+CREATE OR REPLACE FUNCTION geography_gist_join_selectivity(internal, oid, internal, smallint)
+       RETURNS float8
+       AS 'MODULE_PATHNAME', 'geography_gist_join_selectivity'
+       LANGUAGE 'C';
+
 -- Availability: 1.5.0
 CREATE OR REPLACE FUNCTION geography_overlaps(geography, geography) 
        RETURNS boolean