From: Greg Sabino Mullane Date: Mon, 8 Jun 2009 15:18:15 +0000 (-0400) Subject: Don't show psql version unless verbosity is 2. X-Git-Tag: 2.9.1~16^2 X-Git-Url: http://git.postgresql.org/gitweb/static/gitweb.js%3Cscript%20data-cfasync=?a=commitdiff_plain;h=89f47a9552e352543f52e05abd85cfc23ffa3b52;p=check_postgres.git Don't show psql version unless verbosity is 2. Needed so we don't spew it for same_schema action. --- diff --git a/check_postgres.pl b/check_postgres.pl index 84c178dcf..9ea193c60 100755 --- a/check_postgres.pl +++ b/check_postgres.pl @@ -809,7 +809,7 @@ our $psql_version = $1; our $psql_revision = $2; $psql_revision =~ s/\D//g; -$VERBOSE >= 1 and warn qq{psql=$PSQL version=$psql_version\n}; +$VERBOSE >= 2 and warn qq{psql=$PSQL version=$psql_version\n}; $opt{defaultdb} = $psql_version >= 7.4 ? 'postgres' : 'template1';