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

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

Wiki / 配置参数

trace_recovery_messages

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

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

boot val
log
category
Developer Options
context
sighup
documented
true
enumvals
debug5, debug4, debug3, debug2, debug1, log, notice, warning, error
extra desc
Each level includes all the levels that follow it. The later the level, the fewer messages are sent.
lang
en
max val
未知
metadata version
16
min val
未知
name
trace_recovery_messages
short desc
Enables logging of recovery-related debugging information.
source
pg-settings-source-snapshot
unit
未知
vartype
enum

版本定义 PG 16

启用原本不会记录的恢复相关调试输出。此参数允许用户覆盖log_min_messages的常规设置,但仅针对特定消息。它旨在用于调试热备。有效值为DEBUG5、DEBUG4、DEBUG3、DEBUG2、DEBUG1和LOG。默认值LOG完全不影响是否记录消息的决定。其他值会让该优先级或更高优先级的恢复相关调试消息按LOG优先级记录;对于log_min_messages的常见设置,这会无条件地将它们发送到服务器日志。此参数只能在postgresql.conf文件中或在服务器命令行上设置。

比较版本

来源引用

完整定义与证据 JSON

定义来源

center · PostgreSQL 16 · english-manuals:23942cee3de78405b433e8892ff5a279a915600badae7d41c680dad9b7bb8a25

正文语言: zh-Hans · 2026-09-11@29c86d9