We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b3669bb commit 8c315c0Copy full SHA for 8c315c0
1 file changed
_python/pgbench_python.py
@@ -66,8 +66,7 @@ async def asyncpg_connect(args):
66
67
68
async def asyncpg_execute(conn, query, args):
69
- stmt = await conn.prepare(query)
70
- return len(await stmt.get_list(*args))
+ return len(await conn.fetch(query, *args))
71
72
73
async def worker(executor, eargs, start, duration, timeout):
0 commit comments