Added "SSL SYSCALL error: Operation timed out" to the list
of messages that trigger a "disconnect" scenario for the
psycopg2 driver. Pull request courtesy André Cruz.
Change-Id: Ie1a8fc97e74b6906ccacf53dad70fed973c42b7f
Pull-request: https://bitbucket.org/zzzeek/sqlalchemy/pull-requests/3
(cherry picked from commit
2f03ec08b5a1c633133c0a38d82b05eb83708f69)
--- /dev/null
+.. change::
+ :tags: bug, postgresql
+ :versions: 1.2.3
+
+ Added "SSL SYSCALL error: Operation timed out" to the list
+ of messages that trigger a "disconnect" scenario for the
+ psycopg2 driver. Pull request courtesy André Cruz.
'SSL SYSCALL error: Bad file descriptor',
'SSL SYSCALL error: EOF detected',
'SSL error: decryption failed or bad record mac',
+ 'SSL SYSCALL error: Operation timed out',
]:
idx = str_e.find(msg)
if idx >= 0 and '"' not in str_e[:idx]: