[postgis-tickets] r15408 - replace tabs with spaces from last commit
Regina Obe
lr at pcorp.us
Sat May 27 09:40:48 PDT 2017
Author: robe
Date: 2017-05-27 09:40:48 -0700 (Sat, 27 May 2017)
New Revision: 15408
Modified:
trunk/topology/sql/topogeometry/totopogeom.sql.in
Log:
replace tabs with spaces from last commit
Modified: trunk/topology/sql/topogeometry/totopogeom.sql.in
===================================================================
--- trunk/topology/sql/topogeometry/totopogeom.sql.in 2017-05-27 13:34:23 UTC (rev 15407)
+++ trunk/topology/sql/topogeometry/totopogeom.sql.in 2017-05-27 16:40:48 UTC (rev 15408)
@@ -240,11 +240,11 @@
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)
More information about the postgis-tickets
mailing list