X-Git-Url: https://git.openstreetmap.org./nominatim.git/blobdiff_plain/57bf76a0e1d766bc90afcb8a748c5e25e7aa6f08..8f0c628310e9ad4160eb995f3ba53afa791a3ffc:/lib/cmd.php diff --git a/lib/cmd.php b/lib/cmd.php index 9efe5653..44923618 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;