X-Git-Url: https://git.openstreetmap.org/nominatim.git/blobdiff_plain/727bd73d0beb8839286bec0d1cadf9199e3f1802..d9e0ef0ebfbc2860e7c0b7e7510a4014300074be:/sql/tables.sql diff --git a/sql/tables.sql b/sql/tables.sql index caaa62df..949dc6ff 100644 --- a/sql/tables.sql +++ b/sql/tables.sql @@ -10,7 +10,7 @@ drop table if exists import_osmosis_log; CREATE TABLE import_osmosis_log ( batchend timestamp, batchseq integer, - batchsize integer, + batchsize bigint, starttime timestamp, endtime timestamp, event text @@ -212,6 +212,7 @@ CREATE TABLE location_postcode ( geometry GEOMETRY(Geometry, 4326) ); CREATE INDEX idx_postcode_geometry ON location_postcode USING GIST (geometry) {ts:address-index}; +GRANT SELECT ON location_postcode TO "{www-user}" ; CREATE TRIGGER location_postcode_before_update BEFORE UPDATE ON location_postcode FOR EACH ROW EXECUTE PROCEDURE postcode_update();