This was the only topology signature installed in the default schema.
The postgis_full_version() function is updated to find it there.
git-svn-id: http://svn.osgeo.org/postgis/trunk@12012
b70326c6-7e19-0410-871a-
916f4a2858ee
SELECT postgis_scripts_released() INTO relproc;
select postgis_svn_version() INTO svnver;
BEGIN
- SELECT postgis_topology_scripts_installed() INTO topo_scr_ver;
+ SELECT topology.postgis_topology_scripts_installed() INTO topo_scr_ver;
EXCEPTION
- WHEN undefined_function THEN
+ WHEN undefined_function OR invalid_schema_name THEN
topo_scr_ver := NULL;
RAISE NOTICE 'Function postgis_topology_scripts_installed() not found. Is topology support enabled and topology.sql installed?';
END;
--general management --
#include "sql/manage/ManageHelper.sql.in"
-CREATE OR REPLACE FUNCTION postgis_topology_scripts_installed() RETURNS text
+CREATE OR REPLACE FUNCTION topology.postgis_topology_scripts_installed() RETURNS text
AS _POSTGIS_SQL_SELECT_POSTGIS_SCRIPTS_VERSION
LANGUAGE 'sql' IMMUTABLE;
-- I don't think too many people installed the bad name
DROP FUNCTION IF EXISTS topology.toTopoGeom(Geometry, varchar, int, float8);
+-- used to be in public, will now be moved to topology
+DROP FUNCTION IF EXISTS postgis_topology_scripts_installed();
+