类型: | 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: [HACKERS] make async slave to wait for lsn to be replayed
- Re: query_id, pg_stat_activity, extended query protocol
- Re: MERGE/SPLIT partition commands should create new partitions in the parent's tablespace?
- Re: Report search_path value back to the client.
- Re: [PATCH] pg_stat_activity: make slow/hanging authentication more visible