]> git.ipfire.org Git - thirdparty/psycopg.git/commit
feat(pool): add 'drain()' method pool-drain
authorDaniele Varrazzo <daniele.varrazzo@gmail.com>
Fri, 11 Jul 2025 20:02:11 +0000 (22:02 +0200)
committerDaniele Varrazzo <daniele.varrazzo@gmail.com>
Fri, 11 Jul 2025 20:02:11 +0000 (22:02 +0200)
commit9179710a05da2361f994d68dd9a734e80cce235a
treee31a9b70952b6450bd5d10b13400caecd399f64b
parentce085bc927d82526dc19362ea1a66f460374aff0
feat(pool): add 'drain()' method

This changeset introduces a mapping from connection ids to connections
for the connections currently out of the pool. It might be useful for
further refactoring.
psycopg_pool/psycopg_pool/base.py
psycopg_pool/psycopg_pool/pool.py
psycopg_pool/psycopg_pool/pool_async.py
tests/pool/test_pool_common.py
tests/pool/test_pool_common_async.py