From 4be49b17d35d3fe1d94f3c3d29dfdc564666a949 Mon Sep 17 00:00:00 2001 From: tmaeno Date: Fri, 15 Nov 2024 14:46:59 +0100 Subject: [PATCH] executemany for postgres --- pandaserver/taskbuffer/WrappedCursor.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pandaserver/taskbuffer/WrappedCursor.py b/pandaserver/taskbuffer/WrappedCursor.py index d2b5d2b6..ad88283c 100644 --- a/pandaserver/taskbuffer/WrappedCursor.py +++ b/pandaserver/taskbuffer/WrappedCursor.py @@ -424,7 +424,7 @@ def executemany(self, sql, params): if sql is None: sql = self.statement sql = self.change_schema(sql) - if self.alt_executemany: + if self.backend == "postgres": sql, vars_list = convert_query_in_printf_format(sql, params, self.sql_conv_map) self.alt_executemany(self.cur, sql, vars_list) else: