silent_mode
英文手册覆盖始于 PostgreSQL 7.4. 来源历史与运行验证各自保留独立版本边界。
当前阅读 PG 9.1·选择有来源记录的版本
- boot val
- off
- category
- Reporting and Logging / Where to Log
- context
- postmaster
- documented
- true
- enumvals
- 未知
- extra desc
- If this parameter is set, the server will automatically run in the background and any controlling terminals are dissociated.
- lang
- en
- max val
- 未知
- metadata version
- 9.1
- min val
- 未知
- name
- silent_mode
- short desc
- Runs the server silently.
- source
- pg-settings-source-snapshot
- unit
- 未知
- vartype
- bool
版本定义 PG 9.1
静默地运行服务器。如果设置了这个参数,服务器将自动在后台运行并脱离控制终端。这个参数只能在服务器启动时设置。
小心
当设置了这个参数时,服务器的标准输出和标准错误会被重定向到数据目录中的postmaster.log文件。没有任何轮转这个文件的机制,所以除非服务器日志输出被其他设置重定向到别处,它将无限增长。建议在使用这个选项时将log_destination设置为syslog或者启用logging_collector。即使采取这些措施,启动早期报告的错误也可能出现在postmaster.log中而不是正常的日志目标中。
比较版本
来源引用
定义来源
center · PostgreSQL 9.1 · english-manuals:a75d37cf4fbfebdc466001c47a27f4f16376685eeb009912d37ced020a17322c
正文语言: zh-Hans · 2026-09-11@29c86d9