projects
/
check_postgres.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
54b79ae
)
Don't show psql version unless verbosity is 2.
author
Greg Sabino Mullane
<greg@endpoint.com>
Mon, 8 Jun 2009 15:18:15 +0000
(11:18 -0400)
committer
Greg Sabino Mullane
<greg@endpoint.com>
Mon, 8 Jun 2009 15:18:15 +0000
(11:18 -0400)
Needed so we don't spew it for same_schema action.
check_postgres.pl
patch
|
blob
|
blame
|
history
diff --git
a/check_postgres.pl
b/check_postgres.pl
index 84c178dcfe23bf57e28c50c88342d8de1e030281..9ea193c607622264cce1a63a2b2729262f0f4ed2 100755
(executable)
--- 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';