From 860b413ade325a490557e11e09ccdab6d83fb823 Mon Sep 17 00:00:00 2001 From: Mike Bayer Date: Fri, 30 May 2014 11:56:19 -0400 Subject: [PATCH] - 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 | 13 +++++++++++++ 1 file changed, 13 insertions(+) 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 -- 2.47.3