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:
6160c12
)
Fix username field in check_txn_idle; broken when adding support for objects owned...
author
glyn
<
[email protected]
>
Wed, 23 Dec 2015 10:58:14 +0000
(10:58 +0000)
committer
glyn
<
[email protected]
>
Tue, 7 Jun 2016 12:00:52 +0000
(13:00 +0100)
check_postgres.pl
patch
|
blob
|
blame
|
history
diff --git
a/check_postgres.pl
b/check_postgres.pl
index f499343690e0b77e1254b8d36f117a73d650d59d..c04e98893b61189b4f5f4ddcb57d365206a984d9 100644
(file)
--- a/
check_postgres.pl
+++ b/
check_postgres.pl
@@
-8102,7
+8102,7
@@
sub check_txn_idle {
$whodunit = sprintf q{%s:%s %s:%s %s:%s%s%s %s:%s},
msg('PID'), $maxr->{pid},
msg('database'), $maxr->{datname},
- msg('username'), $maxr->{
rol
name},
+ msg('username'), $maxr->{
use
name},
$maxr->{client_addr} eq '' ? '' : (sprintf ' %s:%s', msg('address'), $maxr->{client_addr}),
($maxr->{client_port} eq '' or $maxr->{client_port} < 1)
? '' : (sprintf ' %s:%s', msg('port'), $maxr->{client_port}),