↑↓ 选择↵ 打开⌫ 切换范围完整搜索

PG.CENTER 连接 PostgreSQL 文档、百科与生态知识。由 Pigsty 维护。

Wiki / 配置参数

log_temp_files

Controls logging of temporary file names and sizes. 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, 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. If this value is specified without units, it is taken as kilobytes. The default setting is -1, which disables such logging. Only superusers and users with the appropriate SET privilege can change this setting.

英文手册覆盖始于 PostgreSQL 7.4. 来源历史与运行验证各自保留独立版本边界。

当前阅读 PG 18·选择有来源记录的版本

此版本暂无所选语言的定义,以下显示原始英文内容。

boot val
-1
category
Reporting and Logging / What to Log
context
superuser
documented
true
enumvals
未知
extra desc
-1 disables logging temporary files. 0 means log all temporary files.
lang
en
max val
2147483647
metadata version
18
min val
-1
name
log_temp_files
short desc
Log the use of temporary files larger than this number of kilobytes.
source
pg-settings-source-snapshot
unit
kB
vartype
integer

版本定义 PG 18

Controls logging of temporary file names and sizes. 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, 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. If this value is specified without units, it is taken as kilobytes. The default setting is -1, which disables such logging. Only superusers and users with the appropriate SET privilege can change this setting.

比较版本

来源引用

完整定义与证据 JSON

定义来源

center · PostgreSQL 18 · english-manuals:09e688b8588e170d6660bb58ef55bb9cfa95e0859282149088c40427f8f34858

正文语言: en · english-manuals:09e688b8588e170d6660bb58ef55bb9cfa95e0859282149088c40427f8f34858