]> git.openstreetmap.org Git - nominatim.git/commit
remove linked_place from extratags when updating
authorSarah Hoffmann <lonvia@denofr.de>
Thu, 13 Aug 2020 14:59:11 +0000 (16:59 +0200)
committerSarah Hoffmann <lonvia@denofr.de>
Thu, 13 Aug 2020 14:59:11 +0000 (16:59 +0200)
commite21a7071668784c757d3b32bdaf3dbcd279a85c0
tree4232e08a938329f192eafcde3fbf711e3d8b9b16
parent1b484fa90d0286e4a46ea6dac2998582a247b1bf
remove linked_place from extratags when updating

Before updating an admin boundary we need to make sure that any
artificially generated 'linked_place' entry is removed from the
extratags column. This ensures that the place designation does
not linger when a linked place disappears and that it is updated
when the linking changes.
sql/functions/placex_triggers.sql
test/bdd/db/update/linked_places.feature