Add support for an application_name parameter, which is displayed in
Tom Lane <tgl@sss.pgh.pa.us>
Add support for an application_name parameter, which is displayed in pg_stat_activity and recorded in log entries. Dave Page, reviewed by Andres Freund
Files
| Path | Change | +/− |
|---|---|---|
| doc/src/sgml/config.sgml | modified | +55 −13 |
| doc/src/sgml/libpq.sgml | modified | +56 −21 |
| doc/src/sgml/monitoring.sgml | modified | +7 −7 |
| src/backend/catalog/system_views.sql | modified | +3 −2 |
| src/backend/postmaster/pgstat.c | modified | +75 −7 |
| src/backend/utils/adt/pgstatfuncs.c | modified | +12 −4 |
| src/backend/utils/error/elog.c | modified | +17 −1 |
| src/backend/utils/misc/guc.c | modified | +38 −1 |
| src/backend/utils/misc/postgresql.conf.sample | modified | +1 −0 |
| src/include/catalog/catversion.h | modified | +2 −2 |
| src/include/catalog/pg_proc.h | modified | +2 −2 |
| src/include/pgstat.h | modified | +6 −2 |
| src/include/utils/guc.h | modified | +3 −1 |
| src/interfaces/libpq/fe-connect.c | modified | +188 −29 |
| src/interfaces/libpq/libpq-int.h | modified | +12 −1 |
| src/test/regress/expected/rules.out | modified | +1 −1 |