This is another psycopg2 error message representing an
unusable connection.
Fixes #3715
Change-Id: Ida6e212963e9c7336bf2944e7ef928619ac3a0e7
Pull-request: https://bitbucket.org/zzzeek/sqlalchemy/pull-requests/85
.. changelog::
:version: 1.0.13
+ .. change::
+ :tags: bug, postgresql
+ :tickets: 3715
+
+ Added disconnect detection support for the error string
+ "SSL error: decryption failed or bad record mac". Pull
+ request courtesy Iuri de Silvio.
+
.. change::
:tags: bug, mssql
:tickets: 3711
'connection has been closed unexpectedly',
'SSL SYSCALL error: Bad file descriptor',
'SSL SYSCALL error: EOF detected',
+ 'SSL error: decryption failed or bad record mac',
]:
idx = str_e.find(msg)
if idx >= 0 and '"' not in str_e[:idx]: