orders them. Courtesy Gunnlaugur Þór Briem.
+ - [bug] Added 'terminating connection' to the list
+ of messages we use to detect a disconnect with PG, which
+ appears to be present in some versions when the server
+ is restarted. [ticket:2570]
- [bug] Updated mysqlconnector interface to use
updated "client flag" and "charset" APIs,
# these error messages from libpq: interfaces/libpq/fe-misc.c.
# TODO: these are sent through gettext in libpq and we can't
# check within other locales - consider using connection.closed
- return 'closed the connection' in str(e) or \
+ return 'terminating connection' in str(e) or \
+ 'closed the connection' in str(e) or \
'connection not open' in str(e) or \
'could not receive data from server' in str(e)
elif isinstance(e, self.dbapi.InterfaceError):