]> git.openstreetmap.org Git - nominatim.git/blobdiff - sql/functions.sql
Fix coding style.
[nominatim.git] / sql / functions.sql
index e060a26598033e9d93d35111acea4c4a5db361ce..5ec98f205c0e840f8e6f54e242929c1d89a4a47a 100644 (file)
@@ -2196,7 +2196,7 @@ BEGIN
   result := '{}';
   prevresult := '';
 
-  FOR location IN select * from get_addressdata(for_place_id,housenumber) where isaddress order by rank_address desc LOOP
+  FOR location IN select * from get_addressdata(for_place_id, housenumber) where isaddress order by rank_address desc LOOP
     currresult := trim(get_name_by_language(location.name, languagepref));
     IF currresult != prevresult AND currresult IS NOT NULL AND result[(100 - location.rank_address)] IS NULL THEN
       result[(100 - location.rank_address)] := trim(get_name_by_language(location.name, languagepref));