From: Darold Gilles Date: Sun, 27 Jul 2014 10:33:14 +0000 (+0200) Subject: Add label "Click to copy query" to icon-copy X-Git-Tag: v6.0~16 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=3404be5d10a2de881b6ef99e8fbf37a597a66b9d;p=pgbadger Add label "Click to copy query" to icon-copy --- diff --git a/pgbadger b/pgbadger index b153f2d..c29d2f3 100755 --- a/pgbadger +++ b/pgbadger @@ -195,7 +195,7 @@ $num_sep = ' ' if ($n =~ /,/); # Inform the parent that it should stop iterate on parsing other files sub stop_parsing { - print STDERR "DEBUG: Received interrupt signal"; + &logmsg('DEBUG', "Received interrupt signal"); $interrupt = 1; } @@ -6294,7 +6294,7 @@ sub print_lock_queries_report $max_time $avg_time -
$query
+
$query
$example
@@ -6314,7 +6314,7 @@ sub print_lock_queries_report $details .= " ]"; print $fh qq{
-
$query
+
$query
$details
}; @@ -6377,7 +6377,7 @@ sub print_lock_queries_report $rank $time -
$query
+
$query
$details
@@ -6446,7 +6446,7 @@ sub print_tempfile_report $max_size $avg_size -
$query
+
$query
$example
@@ -6465,7 +6465,7 @@ sub print_tempfile_report $details .= "Bind query: yes
" if ($normalyzed_info{$k}{samples}{$d}{bind}); print $fh qq{
-
$query
+
$query
$details
@@ -6528,7 +6528,7 @@ sub print_tempfile_report $rank $size -
$query
+
$query
$details
@@ -6658,7 +6658,7 @@ sub print_slowest_individual_queries $rank $duration -
$query
+
$query
$details
@@ -6773,7 +6773,7 @@ sub print_time_consuming $max $avg -
$query
+
$query

Times Reported Time consuming queries #$rank

@@ -6813,7 +6813,7 @@ sub print_time_consuming $query = &highlight_code($normalyzed_info{$k}{samples}{$d}{query}); print $fh qq{
-
$query
+
$query
$details
}; @@ -6937,7 +6937,7 @@ sub print_most_frequent $max $avg -
$query
+
$query

Times Reported Time consuming queries #$rank

@@ -6977,7 +6977,7 @@ sub print_most_frequent $query = &highlight_code($normalyzed_info{$k}{samples}{$d}{query}); print $fh qq{
-
$query
+
$query
$details
}; @@ -7102,7 +7102,7 @@ sub print_slowest_queries $duration -
$query
+
$query

Times Reported Time consuming queries #$rank

@@ -7142,7 +7142,7 @@ sub print_slowest_queries $query = &highlight_code($normalyzed_info{$k}{samples}{$d}{query}); print $fh qq{
-
$query
+
$query
$details
};