]>
git.ipfire.org Git - thirdparty/psycopg.git/commit
fix; keep the lock for the entire duration of copy
Avoid errors in concurrent operations on the same connection, from
different cursors.
Close #1210
Fix AsyncCursor.copy concurrency
Apply linter diff
Add test_copy_concurrency and update news
Update docs/news.rst
Co-authored-by: Daniele Varrazzo <daniele.varrazzo@gmail.com>
Update tests/test_copy_async.py
Co-authored-by: Daniele Varrazzo <daniele.varrazzo@gmail.com>
Update tests/test_copy_async.py
Co-authored-by: Daniele Varrazzo <daniele.varrazzo@gmail.com>
Update tests/test_copy_async.py
Co-authored-by: Daniele Varrazzo <daniele.varrazzo@gmail.com>
Simplify execution_log assertion
Revert unnecessary imports