X-Git-Url: https://git.openstreetmap.org/nominatim.git/blobdiff_plain/be268f95e621ec767f1c4f26ca5dfe29a586d6b3..d01d0c13f4d51ddcff2be065f330278516c0c458:/sql/tables.sql diff --git a/sql/tables.sql b/sql/tables.sql index f99e78f5..bcc3eec1 100644 --- a/sql/tables.sql +++ b/sql/tables.sql @@ -75,15 +75,6 @@ CREATE TABLE location_property ( ); SELECT AddGeometryColumn('location_property', 'centroid', 4326, 'POINT', 2); -CREATE TABLE location_property_aux () INHERITS (location_property); -CREATE INDEX idx_location_property_aux_place_id ON location_property_aux USING BTREE (place_id); -CREATE INDEX idx_location_property_aux_parent_place_id ON location_property_aux USING BTREE (parent_place_id); -CREATE INDEX idx_location_property_aux_housenumber_parent_place_id ON location_property_aux USING BTREE (parent_place_id, housenumber); -GRANT SELECT ON location_property_aux TO "{www-user}"; - -CREATE TABLE location_property_tiger (linegeo GEOMETRY, place_id BIGINT, partition INTEGER, parent_place_id BIGINT, startnumber INTEGER, endnumber INTEGER, interpolationtype TEXT, postcode TEXT); -GRANT SELECT ON location_property_tiger TO "{www-user}"; - drop table IF EXISTS search_name; CREATE TABLE search_name ( place_id BIGINT,