postgres.git / summary / log / commit / refs
commit 262a3629971bdf61c309843b385a58d97bf4badb
Author: Bruce Momjian <bruce@momjian.us>
Date: Sat May 04 15:05:16 2013 +0000
First released in: 9.3.0, 9.2.5
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 d750f0800b7..1b05a31faf6 100644
--- a/doc/src/sgml/config.sgml
+++ b/doc/src/sgml/config.sgml
@@ -4089,8 +4089,8 @@ local0.* /var/log/postgresql
</informaltable>
The <literal>%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 <literal>%c</> can also be used as a space saving way
of printing those items. For example, to generate the session
identifier from <literal>pg_stat_activity</>, use this query:
[parent: c008ca601573]