]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commit
Handle SSL SYSCALL error: Bad Address in postgresql/pyscopg2
authorZeke Brechtel <5767468+zkl2@users.noreply.github.com>
Sat, 25 Sep 2021 18:43:28 +0000 (14:43 -0400)
committerMike Bayer <mike_mp@zzzcomputing.com>
Tue, 5 Oct 2021 16:46:22 +0000 (12:46 -0400)
commit70cc67c3e6a123cf8210c041e5d23cbc30594ced
treedd7a1ef008fa9830545315aba36d8b1d50af681d
parent5479799e8b3930de706e4ce6a114bad374db245e
Handle SSL SYSCALL error: Bad Address in postgresql/pyscopg2

Added a "disconnect" condition for the "SSL SYSCALL error: Bad address"
error message as reported by psycopg2. Pull request courtesy Zeke Brechtel.

Fixes: #5387
Closes: #7087
Pull-request: https://github.com/sqlalchemy/sqlalchemy/pull/7087
Pull-request-sha: 66af76a107a22d9119edc8edcacc1e4ef66dc50d

Change-Id: Ia4afc9683b8175a8ca282e07e0f83c65657544ab
doc/build/changelog/unreleased_14/5387.rst [new file with mode: 0644]
lib/sqlalchemy/dialects/postgresql/psycopg2.py
test/dialect/postgresql/test_dialect.py