mirror of
https://github.com/osm-search/Nominatim.git
synced 2026-02-16 15:47:58 +00:00
add simple tests for postcode import
This commit is contained in:
@@ -541,7 +541,7 @@ if ($aCMDResult['calculate-postcodes'] || $aCMDResult['all']) {
|
||||
}
|
||||
}
|
||||
$sSQL = "SELECT count(getorcreate_postcode_id(v)) FROM ";
|
||||
$sSQL .= "(SELECT distinct(postcode) FROM location_postcode) p";
|
||||
$sSQL .= "(SELECT distinct(postcode) as v FROM location_postcode) p";
|
||||
|
||||
if (!pg_query($oDB->connection, $sSQL)) {
|
||||
fail(pg_last_error($oDB->connection));
|
||||
|
||||
Reference in New Issue
Block a user