]> granicus.if.org Git - pgbadger/commitdiff
Fix multiprocess freeze issue introduce in previous patch.
authorDarold Gilles <gilles@darold.net>
Tue, 19 Feb 2013 09:20:06 +0000 (10:20 +0100)
committerDarold Gilles <gilles@darold.net>
Tue, 19 Feb 2013 09:20:06 +0000 (10:20 +0100)
pgbadger

index bebb5645b294f64b065c26e33fd2a4236f98fc4b..9968b8e429f56f64316b5bcea12ef2b7dba308af 100755 (executable)
--- a/pgbadger
+++ b/pgbadger
@@ -1306,7 +1306,7 @@ sub process_file
                                print STDERR "\n";
                        }
                } else {
-                       $pipe->print("$cursize " . ($overall_stat{'queries_number'} - $old_queries_count) . " " . ($overall_stat{'errors_number'} - $old_errors_count) . " exit\n");
+                       $pipe->print("$cursize " . ($overall_stat{'queries_number'} - $old_queries_count) . " " . ($overall_stat{'errors_number'} - $old_errors_count) . "\n");
                        $old_queries_count = $overall_stat{'queries_number'};
                        $old_errors_count = $overall_stat{'errors_number'};
                        $cursize = 0;