]> granicus.if.org Git - pgbadger/commitdiff
Add permission denied to error normalization
authorGilles Darold <gilles.darold@dalibo.com>
Mon, 10 Apr 2017 15:52:29 +0000 (17:52 +0200)
committerGilles Darold <gilles.darold@dalibo.com>
Mon, 10 Apr 2017 15:52:29 +0000 (17:52 +0200)
pgbadger

index 339ed471df42b994278555b0231a58ca0e9e568e..a6c51a429b6ea67ff58ac17e404dbf2761beb89f 100644 (file)
--- a/pgbadger
+++ b/pgbadger
@@ -13658,6 +13658,7 @@ sub normalize_error
        $orig_query =~ s/(unterminated quoted string at or near) "[^"]+"/$1 "..."/;
        $orig_query =~ s/on page \d+ of relation/on page ... of relation/;
        $orig_query =~ s/(side location conflict at ).*/$1 .../;
+       $orig_query =~ s/(permission denied for ^\s]+) .*/$1 .../;
 
        # Need more normalization stuff here
        return $orig_query;