From d8cbd46e3e4d658d808bd731cdd048bd71ff43c7 Mon Sep 17 00:00:00 2001 From: Sandro Santilli Date: Wed, 29 Feb 2012 10:55:02 +0000 Subject: [PATCH] Stop using postgis_uses_stats() from postgis_full_version() (#1632) git-svn-id: http://svn.osgeo.org/postgis/trunk@9347 b70326c6-7e19-0410-871a-916f4a2858ee --- postgis/postgis.sql.in.c | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/postgis/postgis.sql.in.c b/postgis/postgis.sql.in.c index 1075798cf..b7ae9af25 100644 --- a/postgis/postgis.sql.in.c +++ b/postgis/postgis.sql.in.c @@ -2324,6 +2324,7 @@ CREATE OR REPLACE FUNCTION postgis_scripts_released() RETURNS text AS 'MODULE_PATHNAME' LANGUAGE 'C' IMMUTABLE; +-- Deprecation in 2.0.0 CREATE OR REPLACE FUNCTION postgis_uses_stats() RETURNS bool AS 'MODULE_PATHNAME' LANGUAGE 'C' IMMUTABLE; @@ -2357,7 +2358,6 @@ DECLARE geosver text; gdalver text; libxmlver text; - usestats bool; dbproc text; relproc text; fullver text; @@ -2376,7 +2376,6 @@ BEGIN RAISE NOTICE 'Function postgis_gdal_version() not found. Is raster support enabled and rtpostgis.sql installed?'; END; SELECT postgis_libxml_version() INTO libxmlver; - SELECT postgis_uses_stats() INTO usestats; SELECT postgis_scripts_installed() INTO dbproc; SELECT postgis_scripts_released() INTO relproc; select postgis_svn_version() INTO svnver; @@ -2428,11 +2427,6 @@ BEGIN fullver = fullver || ' LIBXML="' || libxmlver || '"'; END IF; - -- TODO: drop ! - IF usestats THEN - fullver = fullver || ' USE_STATS'; - END IF; - -- fullver = fullver || ' DBPROC="' || dbproc || '"'; -- fullver = fullver || ' RELPROC="' || relproc || '"'; -- 2.40.0