X-Git-Url: https://git.openstreetmap.org./nominatim.git/blobdiff_plain/913341ee866297e78cf3b95832279120abe8a18a..3ec91d267b03777b54d5959f3e07f252e199f395:/utils/setup.php diff --git a/utils/setup.php b/utils/setup.php index 52480b6e..1c61a56b 100755 --- a/utils/setup.php +++ b/utils/setup.php @@ -362,7 +362,7 @@ { $aDBInstances[$i] =& getDB(true); $sSQL = 'insert into placex (osm_type, osm_id, class, type, name, admin_level, '; - $sSQL .= 'housenumber, street, isin, postcode, country_code, extratags, '; + $sSQL .= 'housenumber, street, addr_place, isin, postcode, country_code, extratags, '; $sSQL .= 'geometry) select * from place where osm_id % '.$iInstances.' = '.$i; if ($aCMDResult['verbose']) echo "$sSQL\n"; if (!pg_send_query($aDBInstances[$i]->connection, $sSQL)) fail(pg_last_error($oDB->connection));