aiopg icon indicating copy to clipboard operation
aiopg copied to clipboard

SAConnection.execute does not support timeout

Open tzoiker opened this issue 6 years ago • 2 comments

Cursor.execute supports timeout argument, but SAConnection.execute does not.

tzoiker avatar Mar 04 '19 11:03 tzoiker

GitMate.io thinks possibly related issues are https://github.com/aio-libs/aiopg/issues/349 (add execute_values support), https://github.com/aio-libs/aiopg/issues/105 (Why is only ISOLATION_LEVEL_READ_COMMITTED supported?), https://github.com/aio-libs/aiopg/issues/380 (set timeout on SAConnection), https://github.com/aio-libs/aiopg/issues/58 (PostgreSQL notification support), and https://github.com/aio-libs/aiopg/issues/126 (Acquired connections does not return to pool?).

aio-libs-bot avatar Mar 04 '19 11:03 aio-libs-bot

@tzoiker hi. timeout for sa is transmitted in pool or engine

async with create_engine(dsn, timeout=10): pass

vir-mir avatar Mar 09 '19 21:03 vir-mir