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_1_0_0b1~406 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=860b413ade325a490557e11e09ccdab6d83fb823;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 e21117f028..9eb43a3671 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