Re: application_name in process name? - Mailing list pgsql-hackers

From Tom Lane
Subject Re: application_name in process name?
Date
Msg-id 19655.1468429659@sss.pgh.pa.us
Whole thread Raw
In response to application_name in process name?  (Mike Blackwell <mike.blackwell@rrd.com>)
Responses Re: application_name in process name?  (Jim Nasby <Jim.Nasby@BlueTreble.com>)
List pgsql-hackers
Mike Blackwell <mike.blackwell@rrd.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



pgsql-hackers by date:

Previous
From: Peter Geoghegan
Date:
Subject: Re: UPSERT/RETURNING -> ON CONFLICT SELECT?
Next
From: Tom Lane
Date:
Subject: Re: UPSERT/RETURNING -> ON CONFLICT SELECT?