]> git.openstreetmap.org Git - nominatim.git/commitdiff
drop unnecessary index
authorSarah Hoffmann <lonvia@denofr.de>
Thu, 19 Feb 2015 07:07:04 +0000 (08:07 +0100)
committerSarah Hoffmann <lonvia@denofr.de>
Thu, 19 Feb 2015 07:07:04 +0000 (08:07 +0100)
sql/indices.src.sql

index 52bfbe35fb53c29d136089a05766209b96a51d5d..a4021597859c31bdd08e9ce537bab44b8bc6869f 100644 (file)
@@ -24,6 +24,7 @@ CREATE INDEX idx_search_name_country_centroid ON search_name_country USING GIST
 CREATE INDEX idx_location_property_-partition-_centroid ON location_property_-partition- USING GIST (centroid) {ts:address-index};
 -- end
 
 CREATE INDEX idx_location_property_-partition-_centroid ON location_property_-partition- USING GIST (centroid) {ts:address-index};
 -- end
 
+DROP INDEX IF EXISTS place_id_idx;
 CREATE UNIQUE INDEX idx_place_osm_unique on place using btree(osm_id,osm_type,class,type) {ts:address-index};
 
 
 CREATE UNIQUE INDEX idx_place_osm_unique on place using btree(osm_id,osm_type,class,type) {ts:address-index};