X-Git-Url: https://git.openstreetmap.org./nominatim.git/blobdiff_plain/3fcfab97722bf073784e012899b5a51e3ad43914..6e3670bce58ccb1d9357e9bc558d10db3f27931b:/lib/cmd.php diff --git a/lib/cmd.php b/lib/cmd.php index 9efe5653..10186810 100644 --- a/lib/cmd.php +++ b/lib/cmd.php @@ -185,6 +185,10 @@ function runSQLScript($sScript, $bfatal = true, $bVerbose = false, $bIgnoreError fail('unable to start pgsql'); } + if (!$bVerbose) { + fwrite($ahPipes[0], "set client_min_messages to WARNING;"); + } + while (strlen($sScript)) { $iWritten = fwrite($ahPipes[0], $sScript); if ($iWritten <= 0) break;