Re: pgsql: Add cluster_name GUC which is included in process titles if set.

From: Thom Brown <thom(at)linux(dot)com>
To: Andres Freund <andres(at)anarazel(dot)de>
Cc: pgsql-committers <pgsql-committers(at)postgresql(dot)org>
Subject: Re: pgsql: Add cluster_name GUC which is included in process titles if set.
Date: 2014-06-30 07:53:34
Message-ID: CAA-aLv50uRpoccUQFMBTDePXGj3Qu_4U8ep-PSL-GdZqYHriog@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

On 29 June 2014 13:24, Andres Freund <andres(at)anarazel(dot)de> wrote:

> Add cluster_name GUC which is included in process titles if set.
>
> When running several postgres clusters on one OS instance it's often
> inconveniently hard to identify which "postgres" process belongs to
> which postgres instance.
>
> Add the cluster_name GUC, whose value will be included as part of the
> process titles if set. With that processes can more easily identified
> using tools like 'ps'.
>
> To avoid problems with encoding mismatches between postgresql.conf,
> consoles, and individual databases replace non-ASCII chars in the name
> with question marks. The length is limited to NAMEDATALEN to make it
> less likely to truncate important information at the end of the
> status.
>
> Thomas Munro, with some adjustments by me and review by a host of people.
>

One typo:

s/be show/be shown/

Regards

Thom

In response to

Browse pgsql-committers by date

  From Date Subject
Next Message Andres Freund 2014-06-30 08:50:30 pgsql: Fix typos in the cluster_name commit.
Previous Message Heikki Linnakangas 2014-06-30 07:45:29 pgsql: Revert the assertion of no palloc's in critical section.