]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commit
Handle "SSL SYSCALL error: Success" in psycopg2 11523/head
authorDavid H. Irving <david.irving@noirlab.edu>
Fri, 21 Jun 2024 17:57:37 +0000 (10:57 -0700)
committerDavid H. Irving <david.irving@noirlab.edu>
Fri, 21 Jun 2024 17:59:26 +0000 (10:59 -0700)
commit63ad54e49dc3daa459caa29da8cffcb3e47a3f8c
tree7ead7232dfea007d7af62f0c5171605210ca7750
parent2607262110bdc5c5dc96fc19ddca895a15a58e4e
Handle "SSL SYSCALL error: Success" in psycopg2

It is now considered a pool-invalidating disconnect event when psycopg2
throws an "SSL SYSCALL error: Success" error message, which can occur
when the SSL connection to Postgres is terminated abnormally.

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