]> git.openstreetmap.org Git - nominatim.git/commitdiff
typo
authorSarah Hoffmann <lonvia@denofr.de>
Tue, 9 Oct 2012 20:20:05 +0000 (22:20 +0200)
committerSarah Hoffmann <lonvia@denofr.de>
Tue, 9 Oct 2012 20:20:05 +0000 (22:20 +0200)
utils/setup.php

index 9ac9b097c9b162abf63c8f7a71e7d550780e9261..bc426fd39f777c28ebf95cf01b9eb67f2076a0d9 100755 (executable)
                $sSQL .= "from placex where postcode is not null 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));