X-Git-Url: https://git.openstreetmap.org./nominatim.git/blobdiff_plain/7c4b68d2ea30a0615b7159c80b18132b09efd97b..de46b621869b3cec48efdb6520ec29177f267869:/sql/indices.src.sql?ds=inline diff --git a/sql/indices.src.sql b/sql/indices.src.sql index 70776f99..e94ea0ee 100644 --- a/sql/indices.src.sql +++ b/sql/indices.src.sql @@ -27,3 +27,5 @@ CREATE INDEX idx_search_name_country_nameaddress_vector ON search_name_country U -- start CREATE INDEX idx_location_property_-partition-_centroid ON location_property_-partition- USING GIST (centroid); -- end + +CREATE UNIQUE INDEX idx_place_osm_unique on place using btree(osm_id,osm_type,class,type);