From 85d716e2cd93f16ed14edfe18c33c5ea62531970 Mon Sep 17 00:00:00 2001 From: Paul Ramsey Date: Sun, 4 Oct 2009 01:41:32 +0000 Subject: [PATCH] Add SQL bindings for selectivity functions. git-svn-id: http://svn.osgeo.org/postgis/trunk@4587 b70326c6-7e19-0410-871a-916f4a2858ee --- postgis/geography.sql.in.c | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/postgis/geography.sql.in.c b/postgis/geography.sql.in.c index b00f3e1ee..3adae3214 100644 --- a/postgis/geography.sql.in.c +++ b/postgis/geography.sql.in.c @@ -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 -- 2.50.1