| From: | Heikki Linnakangas <heikki(dot)linnakangas(at)enterprisedb(dot)com> |
|---|---|
| To: | Kevin Grittner <Kevin(dot)Grittner(at)wicourts(dot)gov> |
| Cc: | Jaime Casanova <jcasanov(at)systemguards(dot)com(dot)ec>, pgsql-hackers(at)postgresql(dot)org |
| Subject: | Re: pg_stat_activity.application_name |
| Date: | 2009-07-16 20:21:32 |
| Message-ID: | 4A5F8BCC.8090806@enterprisedb.com |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | 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
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Kenneth Marshall | 2009-07-16 20:22:30 | Re: Review remove {join,from}_collapse_limit, add enable_join_ordering |
| Previous Message | Josh Berkus | 2009-07-16 20:13:59 | Re: COPY WITH CSV FORCE QUOTE * -- REVIEW |