]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commit
- The psycopg2 ``.closed`` accessor is now consulted when determining
authorMike Bayer <mike_mp@zzzcomputing.com>
Fri, 30 May 2014 15:56:19 +0000 (11:56 -0400)
committerMike Bayer <mike_mp@zzzcomputing.com>
Fri, 30 May 2014 16:01:07 +0000 (12:01 -0400)
commitef7b1c4c0a9eaeef5140b3cc68921e3dd885ad49
tree5b0a51dbbd610439c2790adb48629eed20edf078
parent939cb91667c451631ad8cdd08585104d7c2093c9
- The psycopg2 ``.closed`` accessor is now consulted when determining
if an exception is a "disconnect" error; ideally, this should remove
the need for any other inspection of the exception message to detect
disconnect, however we will leave those existing messages in place
as a fallback.   This should be able to handle newer cases like
"SSL EOF" conditions.  Pull request courtesy Dirk Mueller.
fixes #3021
doc/build/changelog/changelog_09.rst