From: Sandro Santilli Date: Wed, 22 May 2013 20:24:12 +0000 (+0000) Subject: Avoid (srf()).* construct, known to invoke srf() for each out field X-Git-Tag: 2.1.0beta3~48 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=18a18d6b4cccbf60ac907b2b9696a304695aa59d;p=postgis Avoid (srf()).* construct, known to invoke srf() for each out field 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 --- diff --git a/topology/sql/populate.sql.in b/topology/sql/populate.sql.in index 5b7f6fe4a..657f60eb3 100644 --- a/topology/sql/populate.sql.in +++ b/topology/sql/populate.sql.in @@ -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)