]> granicus.if.org Git - postgis/commitdiff
Fix DEBUG build of topology
authorSandro Santilli <strk@kbt.io>
Tue, 13 Sep 2016 08:38:49 +0000 (08:38 +0000)
committerSandro Santilli <strk@kbt.io>
Tue, 13 Sep 2016 08:38:49 +0000 (08:38 +0000)
git-svn-id: http://svn.osgeo.org/postgis/trunk@15102 b70326c6-7e19-0410-871a-916f4a2858ee

topology/sql/populate.sql.in

index 4cdfae97797d6f908ce574acad0e5e378d35a994..1c105add2cd979df25a2456cb11e3b3475744548 100644 (file)
@@ -437,7 +437,9 @@ BEGIN
     RAISE EXCEPTION 'Face geometry must be a polygon';
   END IF;
 
-  for rrec IN SELECT (ST_DumpRings(ST_ForceRHR(apoly))).geom
+  for rrec IN SELECT (d).* FROM (
+    SELECT ST_DumpRings(ST_ForceRHR(apoly)) d
+  ) foo
   LOOP -- {
     --
     -- Find all bounds edges, forcing right-hand-rule