From 18a18d6b4cccbf60ac907b2b9696a304695aa59d Mon Sep 17 00:00:00 2001 From: Sandro Santilli Date: Wed, 22 May 2013 20:24:12 +0000 Subject: [PATCH] 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 --- topology/sql/populate.sql.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) -- 2.50.1