]> 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:33:53 +0000 (17:33 -0400)
commitb6496ba3d28d685547eac2891bfea5f4ae60e834
tree565b0c7e318cdffc88316f517a15e4d217d66728
parent9a10b8a7f55d78620a77f8345e64718baec5ed91
- 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