diff options
author | Mike Bayer <mike_mp@zzzcomputing.com> | 2014-05-30 11:56:19 -0400 |
---|---|---|
committer | Mike Bayer <mike_mp@zzzcomputing.com> | 2014-05-30 11:56:19 -0400 |
commit | 860b413ade325a490557e11e09ccdab6d83fb823 (patch) | |
tree | c8412f5fa1c7efc92b4e15da5983b9b4d153418a /lib/sqlalchemy/dialects/postgresql/base.py | |
parent | 4eb855657a31909f2c39410e589936b1b451709d (diff) | |
download | sqlalchemy-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