ST_InitTopoGeo: use named argument, drop trailing space from return text

git-svn-id: http://svn.osgeo.org/postgis/trunk@7866 b70326c6-7e19-0410-871a-916f4a2858ee
This commit is contained in:
Sandro Santilli 2011-09-19 06:40:31 +00:00
parent b892b9fedd
commit 9d9772b79d
2 changed files with 3 additions and 4 deletions

View file

@ -3505,12 +3505,11 @@ LANGUAGE 'plpgsql' VOLATILE;
--
-- ST_InitTopoGeo(atopology)
--
CREATE OR REPLACE FUNCTION topology.ST_InitTopoGeo(varchar)
CREATE OR REPLACE FUNCTION topology.ST_InitTopoGeo(atopology varchar)
RETURNS text
AS
$$
DECLARE
atopology alias for $1;
rec RECORD;
topology_id numeric;
BEGIN
@ -3530,7 +3529,7 @@ BEGIN
END LOOP;
RETURN 'Topology-Geometry ' || quote_literal(atopology)
|| ' (id:' || topology_id || ') created. ';
|| ' (id:' || topology_id || ') created.';
END
$$
LANGUAGE 'plpgsql' VOLATILE;