projects
/
check_postgres.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
combined
(merge:
9c90770
dbdafb5
)
Merge branch 'master' of bucardo.org:/var/lib/git/check_postgres
author
Greg Sabino Mullane
<greg@endpoint.com>
Fri, 10 Feb 2012 16:22:56 +0000
(11:22 -0500)
committer
Greg Sabino Mullane
<greg@endpoint.com>
Fri, 10 Feb 2012 16:22:56 +0000
(11:22 -0500)
1
2
check_postgres.pl
patch
|
diff1
|
diff2
|
blob
|
history
diff --cc
check_postgres.pl
index 83da8c05a31b52afc4a63db2606c58ff7e9b7789,0fbcc1e18ec240532818b845321986a9b89f43cc..c39f1b34881370fda375a574b98e6b05372084a4
---
1
/
check_postgres.pl
---
2
/
check_postgres.pl
+++ b/
check_postgres.pl
@@@
-30,11
-30,9
+30,11
@@@
$Data::Dumper::Varname = 'POSTGRES'
$Data::Dumper::Indent = 2;
$Data::Dumper::Useqq = 1;
+binmode STDOUT, ':utf8';
+
our $VERSION = '2.19.0';
- use vars qw/ %opt $PSQL $res $COM $SQL $db /;
+ use vars qw/ %opt $P
GBINDIR $P
SQL $res $COM $SQL $db /;
## Which user to connect as if --dbuser is not given
$opt{defaultuser} = 'postgres';