]> git.ipfire.org Git - thirdparty/psycopg.git/commit
Add an open() method to connection pool classes
authorDenis Laxalde <denis.laxalde@dalibo.com>
Mon, 15 Nov 2021 08:13:04 +0000 (09:13 +0100)
committerDaniele Varrazzo <daniele.varrazzo@gmail.com>
Mon, 3 Jan 2022 15:41:10 +0000 (16:41 +0100)
commitfa541aa7a013372e2395378d7975be96b3c78454
tree5d21bd4b341ba52171387de872648178ca12a9bd
parent02160407879e7ae95d1e6dc535e0ac867507748f
Add an open() method to connection pool classes

This method is responsible for setting the '_closed' attribute, which
hence now defaults to True in the base class, along with the
_sched_runner attribute, which is reset to None in close().
docs/api/pool.rst
docs/news_pool.rst
psycopg_pool/psycopg_pool/base.py
psycopg_pool/psycopg_pool/pool.py
psycopg_pool/psycopg_pool/pool_async.py
tests/pool/test_pool.py
tests/pool/test_pool_async.py