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

From: Jeff Janes <jeff(dot)janes(at)gmail(dot)com>
To: "Tsunakawa, Takayuki" <tsunakawa(dot)takay(at)jp(dot)fujitsu(dot)com>
Cc: 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-05 16:19:56
Message-ID: CAMkU=1y7LWjmjXw_cOeovTE7JkxSiG0jZ6b2t5_+8sYML_C7rw@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

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?

Cheers,

Jeff

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Robert Haas 2016-08-05 16:41:39 Re: [Patch] Temporary tables that do not bloat pg_catalog (a.k.a fast temp tables)
Previous Message Anastasia Lubennikova 2016-08-05 16:19:49 Re: Re: GiST optimizing memmoves in gistplacetopage for fixed-size updates [PoC]