From: Daniele Varrazzo Date: Fri, 8 Jan 2021 01:03:53 +0000 (+0100) Subject: Fixed executemany X-Git-Tag: 3.0.dev0~197 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c09bd7f68e47a69086e65068b3b88a1b3d4b89ed;p=thirdparty%2Fpsycopg.git Fixed executemany D'oh --- diff --git a/psycopg3/psycopg3/cursor.py b/psycopg3/psycopg3/cursor.py index 0c0d092fa..d3ac28608 100644 --- a/psycopg3/psycopg3/cursor.py +++ b/psycopg3/psycopg3/cursor.py @@ -233,6 +233,7 @@ class BaseCursor(Generic[ConnectionType]): raise e.error_from_result( result, encoding=self._conn.client_encoding ) + first = False else: pgq.dump(params)