do not check for extra housenumber index for reverse-only

Also adds a database check for reverse only import to the CI.
This commit is contained in:
Sarah Hoffmann
2021-04-27 10:14:26 +02:00
parent e9ce5714a7
commit 3bf57e6d2a
2 changed files with 9 additions and 2 deletions

View File

@@ -94,6 +94,9 @@ def _get_indexes(conn):
indexes.extend(('idx_search_name_nameaddress_vector',
'idx_search_name_name_vector',
'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'):
indexes.extend(('idx_placex_pendingsector',
'idx_location_area_country_place_id',