X-Git-Url: https://git.openstreetmap.org./nominatim.git/blobdiff_plain/4930f776fe5b14879697a02323c5cf1621735dad..c611d49941e8a097116dfb6f6d08e5491a85dcee:/sql/functions/address_lookup.sql?ds=inline 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;