doc: Clarify unit of logging for log_temp_files

When the unit is omitted from log_temp_files the value is taken as kb,
but the logged value is also without unit but specified in bytes. This
could cause some confusion, so clarify in the documentation which unit
is used when logging.

Reported-by: iphatiey5eu2au6@pasms.be
Reviewed-by: Bruce Momjian <bruce@momjian.us>
Discussion: https://postgr.es/m/166859439833.632.13122583000472281400@wrigleys.postgresql.org
This commit is contained in:
Daniel Gustafsson 2022-11-28 11:10:01 +01:00
parent cbe6e482d7
commit 1f059a4408
1 changed files with 1 additions and 1 deletions

View File

@ -7501,7 +7501,7 @@ log_line_prefix = '%m [%p] %q%u@%d/%a '
Temporary files can be
created for sorts, hashes, and temporary query results.
If enabled by this setting, a log entry is emitted for each
temporary file when it is deleted.
temporary file, with the file size specified in bytes, when it is deleted.
A value of zero logs all temporary file information, while positive
values log only files whose size is greater than or equal to
the specified amount of data.