]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commit
accommodate new pg8000 disconnection exception
authorhbusul <h.burak.usul@gmail.com>
Mon, 29 Mar 2021 15:42:33 +0000 (11:42 -0400)
committerMike Bayer <mike_mp@zzzcomputing.com>
Tue, 30 Mar 2021 15:02:40 +0000 (11:02 -0400)
commit42f29ae6525a5c5348c3ff2926607ec53eed5190
treecb1a68e85dfb6ce5249a253517e2ed9b99ac2ffb
parent2c2e01a0c6d0847f5648fd0120c8fa0bd5f6268f
accommodate new pg8000 disconnection exception

Modified the ``is_disconnect()`` handler for the pg8000 dialect, which now
accommodates for a new ``InterfaceError`` emitted by pg8000 1.19.0. Pull
request courtesy Hamdi Burak Usul.

Fixes: #6099
Closes: #6150
Pull-request: https://github.com/sqlalchemy/sqlalchemy/pull/6150
Pull-request-sha: cd58836d3e19489d5203c02f7cc5f2f2d7c82a20

Change-Id: Ief942e53f6d90c48e8d77c70948fd46eb6c90dbd
doc/build/changelog/unreleased_14/6099.rst [new file with mode: 0644]
lib/sqlalchemy/dialects/postgresql/pg8000.py