[postgis-tickets] r15102 - Fix DEBUG build of topology

Sandro Santilli strk at kbt.io
Tue Sep 13 01:38:49 PDT 2016


Author: strk
Date: 2016-09-13 01:38:49 -0700 (Tue, 13 Sep 2016)
New Revision: 15102

Modified:
   trunk/topology/sql/populate.sql.in
Log:
Fix DEBUG build of topology

Modified: trunk/topology/sql/populate.sql.in
===================================================================
--- trunk/topology/sql/populate.sql.in	2016-09-12 18:00:44 UTC (rev 15101)
+++ trunk/topology/sql/populate.sql.in	2016-09-13 08:38:49 UTC (rev 15102)
@@ -437,7 +437,9 @@
     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



More information about the postgis-tickets mailing list