From: Gilles Darold Date: Tue, 6 Dec 2016 15:08:07 +0000 (+0100) Subject: Fix normalization of messages about advisory lock. Thanks to Thibaut Madelaine for... X-Git-Tag: v9.1~19 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=d7a4d68b4e4c86e01d85002a5e1f0a57f54e85d6;p=pgbadger Fix normalization of messages about advisory lock. Thanks to Thibaut Madelaine for the report. --- diff --git a/pgbadger b/pgbadger index 6492044..d0fa47f 100644 --- a/pgbadger +++ b/pgbadger @@ -13402,6 +13402,7 @@ sub normalize_error $orig_query =~ s/ BASE_BACKUP LABEL '[^']*'.*/ BASE_BACKUP LABEL '...'/; $orig_query =~ s/(transaction|relation|database|process) \d+/$1 .../g; $orig_query =~ s/after \d+\.\d+/after .../; + $orig_query =~ s/\[[^\]]+\]/.../g; # Need more normalization stuff here return $orig_query;