From 0da481f207b1aabc5943ea4ab99914d9b1f50b82 Mon Sep 17 00:00:00 2001 From: Sarah Hoffmann Date: Sun, 25 Apr 2021 23:43:57 +0200 Subject: [PATCH 1/1] remove debug code --- lib-sql/functions/placex_triggers.sql | 2 -- 1 file changed, 2 deletions(-) diff --git a/lib-sql/functions/placex_triggers.sql b/lib-sql/functions/placex_triggers.sql index b97b9103..9a31f3ae 100644 --- a/lib-sql/functions/placex_triggers.sql +++ b/lib-sql/functions/placex_triggers.sql @@ -17,7 +17,6 @@ BEGIN -- For POI nodes, check if the address should be derived from a surrounding -- building. IF p.rank_search < 30 OR p.osm_type != 'N' OR p.address is not null THEN - RAISE WARNING 'self address for % %', p.osm_type, p.osm_id; address := p.address; ELSE -- The additional && condition works around the misguided query @@ -30,7 +29,6 @@ BEGIN and (placex.address ? 'housenumber' or placex.address ? 'street' or placex.address ? 'place') and rank_search = 30 AND ST_GeometryType(geometry) in ('ST_Polygon','ST_MultiPolygon') LIMIT 1; - RAISE WARNING 'other address for % %: % (%)', p.osm_type, p.osm_id, address, p.centroid; END IF; address := address - '_unlisted_place'::TEXT; -- 2.39.5