mirror of
https://github.com/osm-search/Nominatim.git
synced 2026-02-16 15:47:58 +00:00
analyze postcode table during import
This commit is contained in:
@@ -117,6 +117,7 @@ class _PostcodeCollector:
|
||||
WHERE country_code = %s and postcode = any(%s)
|
||||
AND osm_id is null
|
||||
""", (self.country, to_delete))
|
||||
cur.execute("ANALYSE location_postcodes")
|
||||
|
||||
def _update_from_external(self, analyzer: AbstractAnalyzer, project_dir: Path) -> None:
|
||||
""" Look for an external postcode file for the active country in
|
||||
|
||||
Reference in New Issue
Block a user