类型: | string |
上下文: | user |
重新开始: | false |
application_name
可以是任意小于NAMEDATALEN
个字符(标准编译中是 64 个字符)的字符串。这通常由一个应用通过到服务器的连接设置。该名称将被显示在pg_stat_activity视图中并被包括在 CSV 日志项中。它也会被通过log_line_prefix包括在普通日志项中。只有可打印 ASCII 字符能被使用在application_name
之中。其他字符将被替换为问号(?
)。
建议 [EN]
Set this to a reasonable default for most user sessions; if in the middle of working over your application to support application names, this might be “unknown”.
在 StackOverflow
在 pgsql-hackers
- Re: backend stuck in DataFileExtend
- Re: [HACKERS] make async slave to wait for lsn to be replayed
- Re: query_id, pg_stat_activity, extended query protocol
- Re: Test slots invalidations in 035_standby_logical_decoding.pl only if dead rows are removed
- Re: MERGE/SPLIT partition commands should create new partitions in the parent's tablespace?