mirror of
https://github.com/osm-search/Nominatim.git
synced 2024-11-29 08:36:24 +03:00
Merge pull request #2281 from changpingc/changping/fix-tiger-index
fix index on location_property_tiger (parent_place_id)
This commit is contained in:
commit
830e3be1e6
@ -1,5 +1,5 @@
|
|||||||
--index only on parent_place_id
|
--index only on parent_place_id
|
||||||
CREATE INDEX {{sql.if_index_not_exists}} idx_location_property_tiger_place_id_imp
|
CREATE INDEX {{sql.if_index_not_exists}} idx_location_property_tiger_parent_place_id_imp
|
||||||
ON location_property_tiger_import (parent_place_id) {{db.tablespace.aux_index}};
|
ON location_property_tiger_import (parent_place_id) {{db.tablespace.aux_index}};
|
||||||
CREATE UNIQUE INDEX {{sql.if_index_not_exists}} idx_location_property_tiger_place_id_imp
|
CREATE UNIQUE INDEX {{sql.if_index_not_exists}} idx_location_property_tiger_place_id_imp
|
||||||
ON location_property_tiger_import (place_id) {{db.tablespace.aux_index}};
|
ON location_property_tiger_import (place_id) {{db.tablespace.aux_index}};
|
||||||
|
Loading…
Reference in New Issue
Block a user