]> granicus.if.org Git - postgis/commitdiff
replace tabs with spaces from last commit
authorRegina Obe <lr@pcorp.us>
Sat, 27 May 2017 16:40:48 +0000 (16:40 +0000)
committerRegina Obe <lr@pcorp.us>
Sat, 27 May 2017 16:40:48 +0000 (16:40 +0000)
git-svn-id: http://svn.osgeo.org/postgis/trunk@15408 b70326c6-7e19-0410-871a-916f4a2858ee

topology/sql/topogeometry/totopogeom.sql.in

index 5f8db898c7bf684ce9a901ba853a6bd70f488df8..5571f8c9ea820b3942be116fe915e87ed0807fbc 100644 (file)
@@ -240,11 +240,11 @@ BEGIN
     FROM (SELECT (ST_Dump(ageom)).geom) as f
     WHERE NOT ST_IsEmpty(geom)
   LOOP
-       -- NOTE: storing this as a constant 
-       -- because the CASE WHEN in PostgreSQL 10 refuses to short-circuit 
-       -- when CASE contains set returning functions and the CASE boolean is not a constant
-       -- TODO: this feels a little dirty to assume so may need a revisit in near future
-       var_dims = rec.dims;
+    -- NOTE: storing this as a constant 
+    -- because the CASE WHEN in PostgreSQL 10 refuses to short-circuit 
+    -- when CASE contains set returning functions and the CASE boolean is not a constant
+    -- TODO: this feels a little dirty to assume so may need a revisit in near future
+    var_dims = rec.dims;
     FOR rec2 IN SELECT CASE var_dims
        WHEN 0 THEN
          topology.topogeo_addPoint(atopology, rec.geom, tolerance)