Re: application_name in process name?

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Mike Blackwell <mike(dot)blackwell(at)rrd(dot)com>
Cc: PgHacker <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: application_name in process name?
Date: 2016-07-13 17:07:39
Message-ID: 19655.1468429659@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Mike Blackwell <mike(dot)blackwell(at)rrd(dot)com> writes:
> There are times when it would be useful to have the application_name
> connection parameter displayed in the process name - and thus in ps and
> pg_top - in addition to the user and database name.

> Would there be any downside to this?

In a lot of situations ("top" for instance) only a limited number of
characters can be displayed from a process title. I'm hesitant to add
fields to that string that we don't really need.

regards, tom lane

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2016-07-13 17:12:21 Re: UPSERT/RETURNING -> ON CONFLICT SELECT?
Previous Message Peter Geoghegan 2016-07-13 17:02:11 Re: UPSERT/RETURNING -> ON CONFLICT SELECT?