From: Euler Taveira de Oliveira Date: Sat, 23 Mar 2013 02:55:20 +0000 (-0300) Subject: Unbreak id attribute. X-Git-Tag: v3.2~3^2~1^2~2 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=90074159a2c4c081e87ccd11c9482d05254484ab;p=pgbadger Unbreak id attribute. Id attribute is unique. Each time an id is used in an element it must have a different value. --- diff --git a/pgbadger b/pgbadger index a6e8fd0..ed75a8f 100755 --- a/pgbadger +++ b/pgbadger @@ -3073,7 +3073,7 @@ sub dump_as_html $data{"Others"} += $autovacuum_info{tables}{$t}{vacuums} || 0; } } - &flotr2_piegraph(9, 'autovacuumbytable_graph', 'Autovacuum per table', %data); + &flotr2_piegraph(18, 'autovacuumbytable_graph', 'Autovacuum per table', %data); %data = (); if ($total_tuples) { print $fh "
\n"; @@ -3084,7 +3084,7 @@ sub dump_as_html $data{"Others"} += $autovacuum_info{tables}{$t}{tuples}{removed} || 0; } } - &flotr2_piegraph(9, 'autovacuumtuplesremoved_graph', 'Autovacuum tuples removed per table', %data); + &flotr2_piegraph(19, 'autovacuumtuplesremoved_graph', 'Autovacuum tuples removed per table', %data); } } print $fh "\n"; @@ -3164,7 +3164,7 @@ sub dump_as_html } else { $data{"Sum types < $pie_percentage_limit%"} += $total - $totala; } - &flotr2_piegraph(9, 'queriesbytype_graph', 'Type of queries', %data); + &flotr2_piegraph(22, 'queriesbytype_graph', 'Type of queries', %data); } print $fh "\n"; @@ -3253,7 +3253,7 @@ sub dump_as_html $infos{$small[0]} = $infos{"Sum applications < $pie_percentage_limit%"}; delete $infos{"Sum applications < $pie_percentage_limit%"}; } - &flotr2_piegraph(20, 'requestsapplications_graph', 'Queries per application', %infos); + &flotr2_piegraph(21, 'requestsapplications_graph', 'Queries per application', %infos); } print $fh "\n"; }