mirror of
https://git.postgresql.org/git/postgresql.git
synced 2025-01-06 15:24:56 +08:00
docs: fix log_line_prefix session id docs
Backpatch to 9.2. Report from Ian Lawrence Barwick
This commit is contained in:
parent
c008ca6015
commit
262a362997
@ -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:
|
||||||
|
Loading…
Reference in New Issue
Block a user