]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commit
- A revisit to this issue first patched in 0.9.5, apparently
authorMike Bayer <mike_mp@zzzcomputing.com>
Mon, 29 Sep 2014 21:33:53 +0000 (17:33 -0400)
committerMike Bayer <mike_mp@zzzcomputing.com>
Mon, 29 Sep 2014 21:34:15 +0000 (17:34 -0400)
commit2f4db5307ce0505cb9f2d11b16e1dd9fd3092f23
tree27cfd4e6700a13f029e3cf2c20a5358ae1764d9d
parentd6aea828c45d1ecf386e5654e8b5f5f94e6e5ef6
- A revisit to this issue first patched in 0.9.5, apparently
psycopg2's ``.closed`` accessor is not as reliable as we assumed,
so we have added an explicit check for the exception messages
"SSL SYSCALL error: Bad file descriptor" and
"SSL SYSCALL error: EOF detected" when detecting an
is-disconnect scenario.   We will continue to consult psycopg2's
connection.closed as a first check.
fixes #3021
doc/build/changelog/changelog_09.rst
lib/sqlalchemy/dialects/postgresql/psycopg2.py