From 262a3629971bdf61c309843b385a58d97bf4badb Mon Sep 17 00:00:00 2001 From: Bruce Momjian Date: Sat, 4 May 2013 11:05:16 -0400 Subject: [PATCH] docs: fix log_line_prefix session id docs Backpatch to 9.2. Report from Ian Lawrence Barwick --- doc/src/sgml/config.sgml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/src/sgml/config.sgml b/doc/src/sgml/config.sgml index d750f0800b..1b05a31faf 100644 --- a/doc/src/sgml/config.sgml +++ b/doc/src/sgml/config.sgml @@ -4089,8 +4089,8 @@ local0.* /var/log/postgresql The %c escape prints a quasi-unique session identifier, - consisting of two 4-byte hexadecimal numbers (without leading zeros) - separated by a dot. The numbers are the process start time and the + consisting of two hexadecimal numbers separated by a dot. The numbers + are the process start time and the process ID, so %c can also be used as a space saving way of printing those items. For example, to generate the session identifier from pg_stat_activity, use this query: -- 2.40.0