1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/storage/background_updates.py b/synapse/storage/background_updates.py
index b1e5208c76..09d8d06855 100644
--- a/synapse/storage/background_updates.py
+++ b/synapse/storage/background_updates.py
@@ -628,7 +628,7 @@ class BackgroundUpdater:
logger.debug("[SQL] %s", sql)
c.execute(sql)
- if isinstance(self.db_pool.engine, engines.PostgresEngine):
+ if isinstance(self.db_pool.engine, engines.postgres.PostgresEngine):
runner: Optional[Callable[[Connection], None]] = create_index_psql
elif psql_only:
runner = None
|