From d93bd4bec1271f3a4ff4f0e26f1168053d37b63a Mon Sep 17 00:00:00 2001 From: callebtc <93376500+callebtc@users.noreply.github.com> Date: Sun, 24 Jul 2022 22:10:46 +0200 Subject: [PATCH] print number of rows --- tools/conv.py | 1 + 1 file changed, 1 insertion(+) diff --git a/tools/conv.py b/tools/conv.py index 5821f7af..2b88f7c0 100644 --- a/tools/conv.py +++ b/tools/conv.py @@ -94,6 +94,7 @@ def insert_to_pg(query, data): cursor = get_postgres_cursor() connection = cursor.connection + print(f"Inserting {len(data)} rows...") for d in data: try: cursor.execute(query, d)