zzzeek/sqlalchemy — pull request #87 by dirkmueller (2014-05-08 15:09:58+00:00)
Title: Another Variant for detecting if a connection is closed

I seem to get "unknown error" on connections where the postgresql
database was forcefully restarted, which is not detected as a
disconnect.