Skip to content

Commit

Permalink
executemany for postgres
Browse files Browse the repository at this point in the history
  • Loading branch information
tmaeno committed Nov 15, 2024
1 parent 14904a4 commit 4be49b1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pandaserver/taskbuffer/WrappedCursor.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 4be49b1

Please sign in to comment.