]> git.openstreetmap.org Git - nominatim.git/commitdiff
reenable code for copying the final tiger data
authorSarah Hoffmann <lonvia@denofr.de>
Wed, 3 Feb 2021 09:39:41 +0000 (10:39 +0100)
committerSarah Hoffmann <lonvia@denofr.de>
Wed, 3 Feb 2021 09:39:41 +0000 (10:39 +0100)
sql/tiger_import_finish.sql

index 09942bac48cffacf6dad971ac09ac3f023029602..374c00b39bcaa5bfa37aa1a66b703c89e61583f1 100644 (file)
@@ -4,10 +4,10 @@ CREATE UNIQUE INDEX idx_location_property_tiger_place_id_imp ON location_propert
 
 GRANT SELECT ON location_property_tiger_import TO "{www-user}";
 
---DROP TABLE IF EXISTS location_property_tiger;
---ALTER TABLE location_property_tiger_import RENAME TO location_property_tiger;
+DROP TABLE IF EXISTS location_property_tiger;
+ALTER TABLE location_property_tiger_import RENAME TO location_property_tiger;
 
---ALTER INDEX idx_location_property_tiger_parent_place_id_imp RENAME TO idx_location_property_tiger_housenumber_parent_place_id;
---ALTER INDEX idx_location_property_tiger_place_id_imp RENAME TO idx_location_property_tiger_place_id;
+ALTER INDEX idx_location_property_tiger_parent_place_id_imp RENAME TO idx_location_property_tiger_housenumber_parent_place_id;
+ALTER INDEX idx_location_property_tiger_place_id_imp RENAME TO idx_location_property_tiger_place_id;
 
 DROP FUNCTION tiger_line_import (linegeo geometry, in_startnumber integer, in_endnumber integer, interpolationtype text, in_street text, in_isin text, in_postcode text);