]> git.openstreetmap.org Git - nominatim.git/blobdiff - lib-sql/functions/placex_triggers.sql
Merge pull request #3424 from lonvia/importance-csc-import
[nominatim.git] / lib-sql / functions / placex_triggers.sql
index 681c302d575f60c0c22fdcdea01c0d8e20618591..a40923b04a703d164e96950709fdcd0bc7cecd0c 100644 (file)
@@ -1399,6 +1399,8 @@ BEGIN
 
   {% if debug %}RAISE WARNING 'placex_delete:12 % %',OLD.osm_type,OLD.osm_id;{% endif %}
 
 
   {% if debug %}RAISE WARNING 'placex_delete:12 % %',OLD.osm_type,OLD.osm_id;{% endif %}
 
+  UPDATE location_postcode SET indexed_status = 2 WHERE parent_place_id = OLD.place_id;
+
   RETURN OLD;
 
 END;
   RETURN OLD;
 
 END;