summaryrefslogtreecommitdiff
path: root/lib/sqlalchemy/dialects/postgresql/base.py
diff options
context:
space:
mode:
authorMike Bayer <mike_mp@zzzcomputing.com>2022-03-31 09:08:11 -0400
committerMike Bayer <mike_mp@zzzcomputing.com>2022-03-31 09:19:46 -0400
commit169ab546a99f91d696ff85c81d9e5403236dc748 (patch)
treeb7c887636ae4ca91123c5ba02a4dd7b2224eea20 /lib/sqlalchemy/dialects/postgresql/base.py
parent12b67ae68309e715e3ab1b3d533f5a329dd5b6c6 (diff)
downloadsqlalchemy-169ab546a99f91d696ff85c81d9e5403236dc748.tar.gz
add close=False parameter to engine.dispose()
Added new parameter :paramref:`.Engine.dispose.close`, defaulting to True. When False, the engine disposal does not touch the connections in the old pool at all, simply dropping the pool and replacing it. This use case is so that when the original pool is transferred from a parent process, the parent process may continue to use those connections. Fixes: #7877 Change-Id: I88b0808442381ba5e50674787cdb64f0e77d8b54
Diffstat (limited to 'lib/sqlalchemy/dialects/postgresql/base.py')
0 files changed, 0 insertions, 0 deletions