X-Git-Url: https://git.openstreetmap.org/nominatim.git/blobdiff_plain/57bf76a0e1d766bc90afcb8a748c5e25e7aa6f08..f0088ca2be3bafc77993558d794715c652eb7b25:/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;