]> git.ipfire.org Git - thirdparty/psycopg.git/commit
Close the connection on GC only if created in the same process
authorDaniele Varrazzo <daniele.varrazzo@gmail.com>
Sat, 23 May 2020 04:50:41 +0000 (16:50 +1200)
committerDaniele Varrazzo <daniele.varrazzo@gmail.com>
Sat, 23 May 2020 04:57:03 +0000 (16:57 +1200)
commitae8a43bc527b1b06d724386576e07623b49826ca
treea73e4c4e87deda0f07c3510e4c14e4917f094710
parent267e7154ce3b8fcc309ff7a8989d0d63c6a1f4f4
Close the connection on GC only if created in the same process

Fix the same issue reported in psycopg/psycopg2#829.
psycopg3/pq/pq_ctypes.py
psycopg3/pq/pq_cython.pxd
psycopg3/pq/pq_cython.pyx
tests/test_concurrency.py