]> git.openstreetmap.org Git - nominatim.git/blobdiff - sql/functions/address_lookup.sql
fix typo
[nominatim.git] / sql / functions / address_lookup.sql
index ec323b6e9028e79903faf57a6541dc3fa9692c10..9a4c630ca14b224729b9de575fbc921080fae1d1 100644 (file)
@@ -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;