doc: Clarify unit of logging for log_temp_files
authorDaniel Gustafsson <[email protected]>
Mon, 28 Nov 2022 10:10:01 +0000 (11:10 +0100)
committerDaniel Gustafsson <[email protected]>
Mon, 28 Nov 2022 10:10:01 +0000 (11:10 +0100)
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: [email protected]
Reviewed-by: Bruce Momjian <[email protected]>
Discussion: https://postgr.es/m/166859439833.632.13122583000472281400@wrigleys.postgresql.org

doc/src/sgml/config.sgml

index 24b1624bad1ae6a6ec213ed78745cc5853c26b18..9fd2075b1eb7cc53bed81866e78db0d6bfba9d2c 100644 (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.