Commit 262a3629 authored by Bruce Momjian's avatar Bruce Momjian

docs: fix log_line_prefix session id docs

Backpatch to 9.2.

Report from Ian Lawrence Barwick
parent c008ca60
...@@ -4089,8 +4089,8 @@ local0.* /var/log/postgresql ...@@ -4089,8 +4089,8 @@ local0.* /var/log/postgresql
</informaltable> </informaltable>
The <literal>%c</> escape prints a quasi-unique session identifier, The <literal>%c</> escape prints a quasi-unique session identifier,
consisting of two 4-byte hexadecimal numbers (without leading zeros) consisting of two hexadecimal numbers separated by a dot. The numbers
separated by a dot. The numbers are the process start time and the are the process start time and the
process ID, so <literal>%c</> can also be used as a space saving way process ID, so <literal>%c</> can also be used as a space saving way
of printing those items. For example, to generate the session of printing those items. For example, to generate the session
identifier from <literal>pg_stat_activity</>, use this query: identifier from <literal>pg_stat_activity</>, use this query:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment