]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commit
Handle "SSL SYSCALL error: Success" in psycopg2
authorDavid H. Irving <david.irving@noirlab.edu>
Sun, 23 Jun 2024 09:37:24 +0000 (05:37 -0400)
committerFederico Caselli <cfederico87@gmail.com>
Tue, 25 Jun 2024 20:15:07 +0000 (22:15 +0200)
commit03d2832fbfd053b6f58f0879e823920ca9d71cbb
treeaa8c108f8b5baead0c9f2152b1f7264bb4dbe599
parent2607262110bdc5c5dc96fc19ddca895a15a58e4e
Handle "SSL SYSCALL error: Success" in psycopg2

Added "SSL SYSCALL error: Success" to the list of exceptions
that are considered a "disconnect" in psycopg2.

Fixes: #11522
Closes: #11523
Pull-request: https://github.com/sqlalchemy/sqlalchemy/pull/11523
Pull-request-sha: 63ad54e49dc3daa459caa29da8cffcb3e47a3f8c

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