Type: | string |
Context: | user |
Restart: | false |
The application_name
can be any string of less than NAMEDATALEN
characters (64 characters in a standard build). It is typically set by an application upon connection to the server. The name will be displayed in the pg_stat_activity view and included in CSV log entries. It can also be included in regular log entries via the log_line_prefix parameter. Only printable ASCII characters may be used in the application_name
value. Other characters are replaced with C-style hexadecimal escapes.
Recommendations
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”.
On StackOverflow
On pgsql-hackers
- Re: backend stuck in DataFileExtend
- Re: Test slots invalidations in 035_standby_logical_decoding.pl only if dead rows are removed
- Re: [PATCH] pg_stat_activity: make slow/hanging authentication more visible
- Re: Synchronizing slots from primary to standby
- Re: Augmenting the deadlock message with application_name