]> git.ipfire.org Git - thirdparty/psycopg.git/commit
Setting autocommit made thread safe
authorDaniele Varrazzo <daniele.varrazzo@gmail.com>
Sat, 25 Jul 2020 10:52:07 +0000 (11:52 +0100)
committerDaniele Varrazzo <daniele.varrazzo@gmail.com>
Mon, 26 Oct 2020 16:18:18 +0000 (17:18 +0100)
commit42935597d24112423ac6ce0abbc422d978e2767d
tree7d799e690e2dcb3d601b605baa74cb58e4f152d1
parent07300383ff26163d0d8a2533750908a0006ec8fc
Setting autocommit made thread safe

Using a setter on sync connections, a function on async connections.
Should review why this approach was abandoned for the client encoding,
because it seems working alright.
psycopg3/psycopg3/connection.py
tests/test_connection_async.py