From: Sandro Santilli Date: Thu, 26 Jan 2012 08:12:44 +0000 (+0000) Subject: Tweak debug messages not to clutter output X-Git-Tag: 2.0.0alpha3~70 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=44d5075a904a5b987ae5a32bc9eb465a8161a7cf;p=postgis Tweak debug messages not to clutter output git-svn-id: http://svn.osgeo.org/postgis/trunk@8925 b70326c6-7e19-0410-871a-916f4a2858ee --- diff --git a/topology/sql/sqlmm.sql.in.c b/topology/sql/sqlmm.sql.in.c index 99529bda1..cb23c56ef 100644 --- a/topology/sql/sqlmm.sql.in.c +++ b/topology/sql/sqlmm.sql.in.c @@ -3976,6 +3976,10 @@ BEGIN || newedge.left_face || ' OR right_face = ' || newedge.right_face INTO STRICT fan.post; +#ifdef POSTGIS_TOPOLOGY_DEBUG + RAISE DEBUG 'ST_Polygonize returned % faces', ST_NumGeometries(fan.post); +#endif + -- Call topology.AddFace for every face whose boundary contains the new edge -- -- TODO: in presence of holes every hole would share a boundary @@ -4002,7 +4006,7 @@ BEGIN IF newedge.left_face != 0 THEN -- { #ifdef POSTGIS_TOPOLOGY_DEBUG - RAISE DEBUG 'Checking face %', ST_AsText(rec.geom); + RAISE DEBUG 'Checking face'; #endif -- Skip this if our edge is on the right side @@ -4021,7 +4025,7 @@ BEGIN END IF; -- } #ifdef POSTGIS_TOPOLOGY_DEBUG - RAISE DEBUG 'Adding % face', ST_AsText(rec.geom); + RAISE DEBUG 'Adding face'; #endif SELECT topology.AddFace(atopology, rec.geom, true) INTO newface; newfaces := array_append(newfaces, newface); @@ -4294,4 +4298,3 @@ LANGUAGE 'plpgsql' VOLATILE; --} ST_CreateTopoGeo --=} SQL/MM block -