analyze postcode table during import

This commit is contained in:
Sarah Hoffmann
2025-12-27 10:20:19 +01:00
parent f2110e12d6
commit 42d139a5d0

View File

@@ -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