From 870eec7292207aba78aa9f48f282a108e6d8c56e Mon Sep 17 00:00:00 2001 From: Gilles Darold Date: Mon, 9 Jan 2017 14:08:44 +0100 Subject: [PATCH] Fix command tag log_line_prefix placeholder %i to allow space character. --- pgbadger | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 = (); -- 2.40.0