From: Sarah Hoffmann Date: Tue, 9 Oct 2012 20:20:05 +0000 (+0200) Subject: typo X-Git-Tag: deploy~670 X-Git-Url: https://git.openstreetmap.org./nominatim.git/commitdiff_plain/9ccf3899158b8aedfac8d0769e7bb90df2e31a60 typo --- diff --git a/utils/setup.php b/utils/setup.php index 0a0aa710..b5d6767d 100755 --- a/utils/setup.php +++ b/utils/setup.php @@ -447,7 +447,7 @@ $sSQL .= "from placex where postcode is not null and calculated_country_code not in ('ie') group by calculated_country_code,postcode) as x"; if (!pg_query($oDB->connection, $sSQL)) fail(pg_last_error($oDB->connection)); - $sSQL = "insert into placex (osm_type,osm_id,class,type,postcode,calcuclated_country_code,geometry) "; + $sSQL = "insert into placex (osm_type,osm_id,class,type,postcode,calculated_country_code,geometry) "; $sSQL .= "select 'P',nextval('seq_postcodes'),'place','postcode',postcode,'us',"; $sSQL .= "ST_SetSRID(ST_Point(x,y),4326) as geometry from us_postcode"; if (!pg_query($oDB->connection, $sSQL)) fail(pg_last_error($oDB->connection));