X-Git-Url: https://git.openstreetmap.org./nominatim.git/blobdiff_plain/a5697c5279512dfafdf693ffe2a20d5db08cda5f..6478058946efbd9cfd8495ac0e14e485e4004838:/sql/functions/utils.sql diff --git a/sql/functions/utils.sql b/sql/functions/utils.sql index 2b3db04a..33ae340a 100644 --- a/sql/functions/utils.sql +++ b/sql/functions/utils.sql @@ -467,7 +467,7 @@ DECLARE placegeom GEOMETRY; geom GEOMETRY; diameter FLOAT; - rank INTEGER; + rank SMALLINT; BEGIN UPDATE placex SET indexed_status = 2 WHERE place_id = placeid; SELECT geometry, rank_search FROM placex WHERE place_id = placeid INTO placegeom, rank;