]> granicus.if.org Git - pgbadger/commitdiff
Fix command tag log_line_prefix placeholder %i to allow space character.
authorGilles Darold <gilles.darold@dalibo.com>
Mon, 9 Jan 2017 13:08:44 +0000 (14:08 +0100)
committerGilles Darold <gilles.darold@dalibo.com>
Mon, 9 Jan 2017 13:08:44 +0000 (14:08 +0100)
pgbadger

index cc1e863fc30b404b2219018a0fde7130c3c451ca..90789ff14fa49f1ab0d2b588c6868ab83b752daf 100644 (file)
--- a/pgbadger
+++ b/pgbadger
@@ -13827,7 +13827,7 @@ sub build_log_line_prefix_regex
                '%c' => [('t_session_id',        '([0-9a-f\.]*)')],                                               # session ID
                '%v' => [('t_virtual_xid',       '([0-9a-f\.\/]*)')],                                             # virtual transaction ID
                '%x' => [('t_xid',               '([0-9a-f\.\/]*)')],                                             # transaction ID
-               '%i' => [('t_command',           '([0-9a-zA-Z\.\-\_]*)')],                                        # command tag
+               '%i' => [('t_command',           '([0-9a-zA-Z\.\-\_\s]*)')],                                        # command tag
                '%e' => [('t_sqlstate',          '([0-9a-zA-Z]+)')],                                              # SQL state
        );
        my @param_list = ();