- 'idx_search_name_centroid'))
- if conn.server_version_tuple() >= (11, 0, 0):
- indexes.extend(('idx_placex_housenumber',
- 'idx_osmline_parent_osm_id_with_hnr'))
- if conn.table_exists('place'):
+ 'idx_search_name_centroid',
+ 'idx_placex_housenumber',
+ 'idx_osmline_parent_osm_id_with_hnr'))
+
+ # These won't exist if --no-updates import was used
+ if table_exists(conn, 'place'):