mirror of
https://github.com/osm-search/Nominatim.git
synced 2026-03-08 02:54:08 +00:00
revert importing of housenumber interpolations
This commit is contained in:
@@ -630,12 +630,12 @@ BEGIN
|
||||
-- delete from place_interpolation table
|
||||
ALTER TABLE place_interpolation DISABLE TRIGGER place_interpolation_before_delete;
|
||||
DELETE FROM place_interpolation p USING place_interpolation_to_be_deleted d
|
||||
WHERE p.osm_type = d.osm_type AND p.osm_id = d.osm_id;
|
||||
WHERE p.osm_id = d.osm_id;
|
||||
ALTER TABLE place_interpolation ENABLE TRIGGER place_interpolation_before_delete;
|
||||
|
||||
UPDATE location_property_osmline o SET indexed_status = 100
|
||||
FROM place_interpolation_to_be_deleted d
|
||||
WHERE o.osm_type = d.osm_Type AND o.osm_id = d.osm_id;
|
||||
WHERE o.osm_id = d.osm_id;
|
||||
|
||||
TRUNCATE TABLE place_interpolation_to_be_deleted;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user