On Wed, Nov 16, 2022 at 10:26:38AM +0000, PG Doc comments form wrote:
> The following documentation comment has been logged on the website:
>
> Page: https://www.postgresql.org/docs/14/runtime-config-logging.html
> Description:
>
> The setting log_temp_files will enable logging of the usage of temporary
> files, including their size in the log files. The setting is given in
> kilobytes, which is clearly documented. However, I could not find any clear
> documentation that describes the unit of size that is used in the logfiles
> themselves, the log line is something like "profiles@profiles LOG:
> temporary file: path "base/pgsql_tmp/pgsql_tmp31863.1", size 3137536" but
> there is no size unit in the logfile or in the settings documentation. Can
> you add whether the log line is in bytes/kilobytes/megabytes?
Uh, I believe it is simply in bytes.
--
Bruce Momjian <bruce@momjian.us> https://momjian.us
EDB https://enterprisedb.com
Indecision is a decision. Inaction is an action. Mark Batterson