1
0
mirror of https://github.com/postgres/postgres.git synced 2025-06-05 23:56:58 +03:00

docs: log_line_prefix session id fix

Restore 4-byte designation for docs.  Fix 9.3 doc query to properly pad
to four digits.

Backpatch to all active branches

Per suggestions from Ian Lawrence Barwick
This commit is contained in:
Bruce Momjian 2013-05-04 13:15:54 -04:00
parent 8f80e35b55
commit 6f3ec222fc

View File

@ -3810,7 +3810,7 @@ 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 hexadecimal numbers (without leading zeros) consisting of two 4-byte hexadecimal numbers (without leading zeros)
separated by a dot. The numbers are the process start time and the 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 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