From c36e3d9c7ea9f0fe61377c0769e14d1c8e90f45a Mon Sep 17 00:00:00 2001 From: Brian Quinion Date: Tue, 22 May 2012 20:25:18 +0200 Subject: [PATCH] can't have a unique index on placex - only on place --- sql/indices.src.sql | 1 - 1 file changed, 1 deletion(-) diff --git a/sql/indices.src.sql b/sql/indices.src.sql index 4db5a104..e94ea0ee 100644 --- a/sql/indices.src.sql +++ b/sql/indices.src.sql @@ -28,5 +28,4 @@ CREATE INDEX idx_search_name_country_nameaddress_vector ON search_name_country U CREATE INDEX idx_location_property_-partition-_centroid ON location_property_-partition- USING GIST (centroid); -- end -CREATE UNIQUE INDEX idx_placex_osm_unique on placex using btree(osm_id,osm_type,class,type); CREATE UNIQUE INDEX idx_place_osm_unique on place using btree(osm_id,osm_type,class,type);