summaryrefslogtreecommitdiff
path: root/lib/sqlalchemy/dialects/postgresql/base.py
diff options
context:
space:
mode:
authorMike Bayer <mike_mp@zzzcomputing.com>2014-05-30 11:56:19 -0400
committerMike Bayer <mike_mp@zzzcomputing.com>2014-05-30 11:56:19 -0400
commit860b413ade325a490557e11e09ccdab6d83fb823 (patch)
treec8412f5fa1c7efc92b4e15da5983b9b4d153418a /lib/sqlalchemy/dialects/postgresql/base.py
parent4eb855657a31909f2c39410e589936b1b451709d (diff)
downloadsqlalchemy-860b413ade325a490557e11e09ccdab6d83fb823.tar.gz
- 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
Diffstat (limited to 'lib/sqlalchemy/dialects/postgresql/base.py')
0 files changed, 0 insertions, 0 deletions