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

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

Wiki / 配置参数

log_disconnections

Causes session terminations to be logged. The log output provides information similar to log_connections, plus the duration of the session. Only superusers and users with the appropriate SET privilege can change this parameter at session start, and it cannot be changed at all within a session. The default is off.

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

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

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

boot val
off
category
Reporting and Logging / What to Log
context
superuser-backend
documented
true
enumvals
未知
extra desc
未知
lang
en
max val
未知
metadata version
18
min val
未知
name
log_disconnections
short desc
Logs end of a session, including duration.
source
pg-settings-source-snapshot
unit
未知
vartype
bool

版本定义 PG 18

Causes session terminations to be logged. The log output provides information similar to log_connections, plus the duration of the session. Only superusers and users with the appropriate SET privilege can change this parameter at session start, and it cannot be changed at all within a session. The default is off.

比较版本

来源引用

完整定义与证据 JSON

定义来源

center · PostgreSQL 18 · english-manuals:4b00ee60d267a61e5d4d3ad4c9c633ce723dff033e3d7be0111ab2d173b41105

正文语言: en · english-manuals:4b00ee60d267a61e5d4d3ad4c9c633ce723dff033e3d7be0111ab2d173b41105