From: Gilles Darold Date: Mon, 9 Jan 2017 13:08:44 +0000 (+0100) Subject: Fix command tag log_line_prefix placeholder %i to allow space character. X-Git-Tag: v9.1~6 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=870eec7292207aba78aa9f48f282a108e6d8c56e;p=pgbadger Fix command tag log_line_prefix placeholder %i to allow space character. --- diff --git a/pgbadger b/pgbadger index cc1e863..90789ff 100644 --- 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 = ();