mirror of
https://github.com/osm-search/Nominatim.git
synced 2026-03-09 19:44:07 +00:00
send address interpolation import to correct postgres conn
This commit is contained in:
@@ -378,7 +378,7 @@ if ($aCMDResult['load-data'] || $aCMDResult['all']) {
|
|||||||
$sSQL .= ' SELECT osm_id, address, geometry from place where ';
|
$sSQL .= ' SELECT osm_id, address, geometry from place where ';
|
||||||
$sSQL .= "class='place' and type='houses' and osm_type='W' and ST_GeometryType(geometry) = 'ST_LineString'";
|
$sSQL .= "class='place' and type='houses' and osm_type='W' and ST_GeometryType(geometry) = 'ST_LineString'";
|
||||||
if ($aCMDResult['verbose']) echo "$sSQL\n";
|
if ($aCMDResult['verbose']) echo "$sSQL\n";
|
||||||
if (!pg_send_query($aDBInstances[$i]->connection, $sSQL)) fail(pg_last_error($oDB->connection));
|
if (!pg_send_query($aDBInstances[$iLoadThreads]->connection, $sSQL)) fail(pg_last_error($oDB->connection));
|
||||||
|
|
||||||
$bAnyBusy = true;
|
$bAnyBusy = true;
|
||||||
while ($bAnyBusy) {
|
while ($bAnyBusy) {
|
||||||
|
|||||||
Reference in New Issue
Block a user