X-Git-Url: https://git.openstreetmap.org./nominatim.git/blobdiff_plain/727bd73d0beb8839286bec0d1cadf9199e3f1802..189da9afb3659e194b545dd5a6d9de1b1033c72d:/sql/tables.sql?ds=inline 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();