From d1380ec907ea97e7474dd25be22c02a7b23dd073 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Motiejus=20Jak=C5=A1tys?= Date: Wed, 19 May 2021 22:57:46 +0300 Subject: [PATCH] more logging info --- wm.sql | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/wm.sql b/wm.sql index 048bad4..17c3aa6 100644 --- a/wm.sql +++ b/wm.sql @@ -333,8 +333,9 @@ begin execute format('create table if not exists integ_%safigures (way geometry)', i); -- if anyone has suggestions how to insert a variable to a table without -- such hackery, I'll be glad to know - execute format('insert into integ_%safigures select $1;', i) using (select unnest(array[line])); raise notice 'inserting: %', st_astext(unnest(array[line])); + execute format('insert into integ_%safigures select $1;', i) using (select unnest(array[line])); + raise notice 's: %', array((select st_summary(way) from integ_1afigures)); bends = detect_bends(line); execute format('create table if not exists integ_%sbbends (i bigint, way geometry)', i);