]> git.openstreetmap.org Git - nominatim.git/blobdiff - sql/tables.sql
Merge remote-tracking branch 'upstream/master'
[nominatim.git] / sql / tables.sql
index caaa62dfdccd5addfbedca702d8298e5b0a7ae55..4a22a814feab17140a2af2b0f994fa9bfb0b1935 100644 (file)
@@ -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};
   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();
 
 CREATE TRIGGER location_postcode_before_update BEFORE UPDATE ON location_postcode
     FOR EACH ROW EXECUTE PROCEDURE postcode_update();