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

Sandro Santilli strk at kbt.io
Tue Sep 13 01:39:11 PDT 2016


Author: strk
Date: 2016-09-13 01:39:11 -0700 (Tue, 13 Sep 2016)
New Revision: 15103

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

Modified: branches/2.2/topology/sql/populate.sql.in
===================================================================
--- branches/2.2/topology/sql/populate.sql.in	2016-09-13 08:38:49 UTC (rev 15102)
+++ branches/2.2/topology/sql/populate.sql.in	2016-09-13 08:39:11 UTC (rev 15103)
@@ -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