From: Darold Gilles Date: Thu, 12 Feb 2015 18:46:45 +0000 (+0100) Subject: Do not store DEALLOCATE log entries. X-Git-Tag: v6.3~10 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=8c669683c1ca647641b6813d6031d3df1ea74414;p=pgbadger Do not store DEALLOCATE log entries. --- diff --git a/pgbadger b/pgbadger index d87bb5e..09d1c82 100755 --- a/pgbadger +++ b/pgbadger @@ -9011,6 +9011,11 @@ sub parse_query } } + # Do not process DEALLOCATE lines + if ($prefix_vars{'t_query'} =~ /statement: DEALLOCATE/) { + return; + } + # Do not parse lines that are not an error message when error only report is requested if ($error_only && ($prefix_vars{'t_loglevel'} !~ $full_error_regex)) { return;