]> git.openstreetmap.org Git - nominatim.git/commit
simplify getNearestRoadFeature function
authorSarah Hoffmann <lonvia@denofr.de>
Wed, 26 Feb 2020 09:04:17 +0000 (10:04 +0100)
committerSarah Hoffmann <lonvia@denofr.de>
Wed, 26 Feb 2020 09:58:55 +0000 (10:58 +0100)
commit84ea0753d8d7861ff6a47a6eb29f072a1d342879
tree72c2a3d08db5408abfb8c847f2b515b50919477c
parentc1ef56c870575a881ff81f409b696af0f7838a6a
simplify getNearestRoadFeature function

The function only ever returns one result of which only the
place_id is used. So simplify it to return a single place_id
only (or NULL if none is found). Rename funciton to avoid
conflicts when updating an existing database.
sql/functions/aux_property.sql
sql/functions/placex_triggers.sql
sql/partition-functions.src.sql
sql/tiger_import_start.sql