You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The really bizarre thing is that some had to go out of their way to break this in asyncpg.
And not only that, but the check doesn't really even work that well.
A workaround is to first run SET default_transaction_isolation = 'repeatable read'; for the connection, and then avoid passing an isolation argument to the transaction() function.
The text was updated successfully, but these errors were encountered:
asyncpg version: 0.22.0
Example
Expected result
No error.
Actual result
That's just not true.
START TRANSACTION ISOLATION LEVEL REPEATABLE READ READ ONLY;
The really bizarre thing is that some had to go out of their way to break this in asyncpg.
And not only that, but the check doesn't really even work that well.
A workaround is to first run
SET default_transaction_isolation = 'repeatable read';
for the connection, and then avoid passing anisolation
argument to thetransaction()
function.The text was updated successfully, but these errors were encountered: