summaryrefslogtreecommitdiff
path: root/check_postgres.pl
diff options
context:
space:
mode:
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/^ +//;