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

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

Wiki / 配置参数

log_hostname

By default, connection log messages only show the IP address of the connecting host. Turning this parameter on causes logging of the host name as well. Note that depending on your host name resolution setup this might impose a non-negligible performance penalty. This parameter can only be set in the postgresql.conf file or on the server command line.

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

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

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

boot val
off
category
Reporting and Logging / What to Log
context
sighup
documented
true
enumvals
未知
extra desc
By default, connection logs only show the IP address of the connecting host. If you want them to show the host name you can turn this on, but depending on your host name resolution setup it might impose a non-negligible performance penalty.
lang
en
max val
未知
metadata version
18
min val
未知
name
log_hostname
short desc
Logs the host name in the connection logs.
source
pg-settings-source-snapshot
unit
未知
vartype
bool

版本定义 PG 18

By default, connection log messages only show the IP address of the connecting host. Turning this parameter on causes logging of the host name as well. Note that depending on your host name resolution setup this might impose a non-negligible performance penalty. This parameter can only be set in the postgresql.conf file or on the server command line.

比较版本

来源引用

完整定义与证据 JSON

定义来源

center · PostgreSQL 18 · english-manuals:5548f74179457f5acf3a5c459ff3780acc513a0c1762f0d91e343ae6a346c954

正文语言: en · english-manuals:5548f74179457f5acf3a5c459ff3780acc513a0c1762f0d91e343ae6a346c954