X-Git-Url: https://git.openstreetmap.org./nominatim.git/blobdiff_plain/4930f776fe5b14879697a02323c5cf1621735dad..81c7f618fb52b0f8524e1953d02660159e7c2fde:/sql/functions/address_lookup.sql diff --git a/sql/functions/address_lookup.sql b/sql/functions/address_lookup.sql index ec323b6e..9a4c630c 100644 --- a/sql/functions/address_lookup.sql +++ b/sql/functions/address_lookup.sql @@ -277,7 +277,7 @@ BEGIN IF searchpostcode IS NOT NULL THEN location := ROW(null, null, null, hstore('ref', searchpostcode), 'place', - 'postcodes', null, null, false, true, 5, 0)::addressline; + 'postcode', null, null, false, true, 5, 0)::addressline; RETURN NEXT location; END IF;