The pg8000 dialect checks the text of the exception to determine if the
connection is closed. I'd (recklessly!) changed the text of the
exception in a recent version of the pg8000 driver adding capitalization
and a full stop. I've changed it back now so all works.
no_support("postgresql+pg8000", "not supported and/or hangs")
])
- @property
- def graceful_disconnects(self):
- """Target driver must raise a DBAPI-level exception, such as
- InterfaceError, when the underlying connection has been closed
- and the execute() method is called.
- """
- return fails_on(
- "postgresql+pg8000", "Driver crashes"
- )
-
@property
def views(self):
"""Target database must support VIEWs."""