MagicStack / asyncpg

A fast PostgreSQL Database Client Library for Python/asyncio.
Apache License 2.0
6.88k stars 399 forks source link

Add support for READ UNCOMMITTED #1039

Closed benwah closed 1 year ago

benwah commented 1 year ago

Add support for "READ UNCOMMITTED" transaction isolation level.

This transaction isolation level can be useful for testing, and is supported by PostgreSQL.

elprans commented 1 year ago

Thanks!

CaselIT commented 1 year ago

note that pg does not actually have a read uncommitted isolation level: https://www.postgresql.org/docs/current/transaction-iso.html