Re: application_name in process name?

Поиск
Список
Период
Сортировка
От Jim Nasby
Тема Re: application_name in process name?
Дата
Msg-id e5e288ae-5584-f35a-3e49-97d630192d5f@BlueTreble.com
обсуждение исходный текст
Ответ на Re: application_name in process name?  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: application_name in process name?  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
On 7/13/16 12:07 PM, Tom Lane wrote:
> 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.

Could we make this configurable, similar to log_line_prefix?
-- 
Jim Nasby, Data Architect, Blue Treble Consulting, Austin TX
Experts in Analytics, Data Architecture and PostgreSQL
Data in Trouble? Get it in Treble! http://BlueTreble.com
855-TREBLE2 (855-873-2532)   mobile: 512-569-9461



В списке pgsql-hackers по дате отправления:

Предыдущее
От: Jim Nasby
Дата:
Сообщение: Re: Constraint merge and not valid status
Следующее
От: Craig Ringer
Дата:
Сообщение: Re: One process per session lack of sharing