summaryrefslogtreecommitdiff
path: root/check_postgres.pl
diff options
context:
space:
mode:
authorGreg Sabino Mullane2011-06-30 03:02:53 +0000
committerGreg Sabino Mullane2011-06-30 03:02:53 +0000
commitadc5df307a4ef5d9732ef93c6c0a4d25c77f14d6 (patch)
treec0e983d31c8f02b659bad35dc7a7a320cd5548e9 /check_postgres.pl
parent2f8c975fb0f82ab179cf44a6713948e07336ca97 (diff)
Test file tweaks for new output.
Diffstat (limited to 'check_postgres.pl')
-rwxr-xr-xcheck_postgres.pl1
1 files changed, 1 insertions, 0 deletions
diff --git a/check_postgres.pl b/check_postgres.pl
index 4c204b19f..044f42080 100755
--- a/check_postgres.pl
+++ b/check_postgres.pl
@@ -1394,6 +1394,7 @@ sub add_response {
$dbhost,
$dbport;
$header =~ s/\s+$//;
+ $header =~ s/^ //;
my $perf = ($opt{showtime} and $db->{totaltime} and $action ne 'bloat') ? "time=$db->{totaltime}s" : '';
if ($db->{perf}) {
$db->{perf} =~ s/^ +//;