Re: pg_stat_activity.application_name - Mailing list pgsql-hackers

From Heikki Linnakangas
Subject Re: pg_stat_activity.application_name
Date
Msg-id 4A5F8BCC.8090806@enterprisedb.com
Whole thread Raw
In response to Re: pg_stat_activity.application_name  ("Kevin Grittner" <Kevin.Grittner@wicourts.gov>)
List pgsql-hackers
Kevin Grittner wrote:
> We would probably want to modify psql, pg_dump, etc. to put the
> application name into this connection property, at least by default. 
> We may want to add a command-line switch to allow user override -- to
> provide something more detailed.  For example,
> --application-name='Weekly Purge' could by specified on the psql
> command line.

I've seen it set to argv[0] on other DBMSs, if not set explicitly. That
would be a reasonable default, and would handle psql, pg_dump etc.
without changes.

--  Heikki Linnakangas EnterpriseDB   http://www.enterprisedb.com


pgsql-hackers by date:

Previous
From: Josh Berkus
Date:
Subject: Re: COPY WITH CSV FORCE QUOTE * -- REVIEW
Next
From: Kenneth Marshall
Date:
Subject: Re: Review remove {join,from}_collapse_limit, add enable_join_ordering