From: Mike Bayer Date: Fri, 30 May 2014 15:56:19 +0000 (-0400) Subject: - The psycopg2 ``.closed`` accessor is now consulted when determining X-Git-Tag: rel_0_9_5~33 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=ef7b1c4c0a9eaeef5140b3cc68921e3dd885ad49;p=thirdparty%2Fsqlalchemy%2Fsqlalchemy.git - 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 --- diff --git a/doc/build/changelog/changelog_09.rst b/doc/build/changelog/changelog_09.rst index 98a11a00d3..633a3bddaf 100644 --- a/doc/build/changelog/changelog_09.rst +++ b/doc/build/changelog/changelog_09.rst @@ -14,6 +14,19 @@ .. changelog:: :version: 0.9.5 + .. change:: + :tags: bug, postgresql + :tickets: 3021 + :versions: 1.0.0 + :pullreq: github:87 + + 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. + .. change:: :tags: bug, orm :tickets: 3060