Re: [RFC] Change the default of update_process_title to off

From: Robert Haas <robertmhaas(at)gmail(dot)com>
To: Jeff Janes <jeff(dot)janes(at)gmail(dot)com>
Cc: "Tsunakawa, Takayuki" <tsunakawa(dot)takay(at)jp(dot)fujitsu(dot)com>, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, Andres Freund <andres(at)anarazel(dot)de>, Michael Paquier <michael(dot)paquier(at)gmail(dot)com>, "pgsql-hackers(at)postgresql(dot)org" <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: [RFC] Change the default of update_process_title to off
Date: 2016-08-07 18:12:12
Message-ID: CA+TgmoZN8KpdrvWS6AkvfbTVVrU9EdohKwkXOYNH+xKv-b+GRw@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Fri, Aug 5, 2016 at 12:19 PM, Jeff Janes <jeff(dot)janes(at)gmail(dot)com> wrote:
> On Fri, Aug 5, 2016 at 3:25 AM, Tsunakawa, Takayuki
> <tsunakawa(dot)takay(at)jp(dot)fujitsu(dot)com> wrote:
>>> From: Tom Lane [mailto:tgl(at)sss(dot)pgh(dot)pa(dot)us]
>>> Yeah, I think I agree. It would be bad to disable it by default on Unix,
>>> because ps(1) is a very standard tool there, but the same argument doesn't
>>> hold for Windows.
>>
>> It seems that we could reach a consensus. The patch is attached. I'll add this to the next CommitFest.
>>
>>> Another route to a solution would be to find a cheaper way to update the
>>> process title on Windows ... has anyone looked for alternatives?
>>
>> I couldn't find an alternative solution after asking some Windows support staff.
>>
>> Regards
>> Takayuki Tsunakawa
>
> Shouldn't we change the code which initdb uses to create the example
> postgresql.conf, so that it shows the commented out value as being
> 'off', when initdb is run on Windows?

+1.

--
Robert Haas
EnterpriseDB: http://www.enterprisedb.com
The Enterprise PostgreSQL Company

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2016-08-07 18:14:11 Re: [sqlsmith] Crash in GetOldestSnapshot()
Previous Message Robert Haas 2016-08-07 18:11:44 Re: Slowness of extended protocol