]> granicus.if.org Git - postgis/commitdiff
Avoid (srf()).* construct, known to invoke srf() for each out field
authorSandro Santilli <strk@keybit.net>
Wed, 22 May 2013 20:24:12 +0000 (20:24 +0000)
committerSandro Santilli <strk@keybit.net>
Wed, 22 May 2013 20:24:12 +0000 (20:24 +0000)
Should slightly improve performances of TopoGeo_addLinestring
(in turn used by toTopoGeom)

git-svn-id: http://svn.osgeo.org/postgis/trunk@11484 b70326c6-7e19-0410-871a-916f4a2858ee

topology/sql/populate.sql.in

index 5b7f6fe4ad98b409c449c6f714855eedb11c8ed9..657f60eb315713b5bd91f814b97ec7614a06a11c 100644 (file)
@@ -907,7 +907,7 @@ BEGIN
     RAISE DEBUG 'Snapped to nodes: %', ST_AsText(noded);
 #endif
 
-    FOR rec IN SELECT (ST_Dump(inodes)).*
+    FOR rec IN SELECT (ST_Dump(inodes)).geom
     LOOP
         -- Use the node to split edges
         SELECT ST_Collect(geom)