Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1ZbxyB-0001Sz-Kn for pgsql-bugs@arkaria.postgresql.org; Tue, 15 Sep 2015 21:40:55 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84) (envelope-from ) id 1ZbxyA-0000yl-9H for pgsql-bugs@arkaria.postgresql.org; Tue, 15 Sep 2015 21:40:54 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84) (envelope-from ) id 1ZbxxX-0000HU-UW for pgsql-bugs@postgresql.org; Tue, 15 Sep 2015 21:40:15 +0000 Received: from smtp-auth.no-ip.com ([8.23.224.61] helo=out.smtp-auth.no-ip.com) by magus.postgresql.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.84) (envelope-from ) id 1ZbxxQ-0003Yh-2w for pgsql-bugs@postgresql.org; Tue, 15 Sep 2015 21:40:14 +0000 X-No-IP: alvh.no-ip.org@noip-smtp X-Report-Spam-To: abuse@no-ip.com Received: from alvin.alvh.no-ip.org (unknown [179.57.24.220]) (Authenticated sender: alvh.no-ip.org@noip-smtp) by smtp-auth.no-ip.com (Postfix) with ESMTPA id A55F8401046; Tue, 15 Sep 2015 14:40:05 -0700 (PDT) Received: by alvin.alvh.no-ip.org (Postfix, from userid 1000) id 1FF0047C; Tue, 15 Sep 2015 18:40:02 -0300 (CLT) Date: Tue, 15 Sep 2015 18:40:02 -0300 From: Alvaro Herrera To: Michael Paquier Cc: =?iso-8859-1?Q?J=FCrgen?= Strobel , PostgreSQL mailing lists Subject: Re: BUG #13620: Streaming replication process titles should use zero padding for TX ids. Message-ID: <20150915214001.GJ88970@alvherre.pgsql> References: <20150915104236.2674.33056@wrigleys.postgresql.org> <55F88D4D.7010102@strobel.info> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: User-Agent: Mutt/1.5.23 (2014-03-12) X-Pg-Spam-Score: -2.5 (--) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-bugs Precedence: bulk Sender: pgsql-bugs-owner@postgresql.org Michael Paquier wrote: > On Tue, Sep 15, 2015 at 2:27 PM, Jürgen Strobel wrote: > > I understand this is not a bug in the sense that it displays wrong > > information, nor that I cannot get the information in a different way. > > The problem is that the proctitle functionality, which is very > > convenient and much faster than typing the SELECT above, is diminished > > by easily misleading people when it displays this id in hex encoding > > without zero padding. > > Nothing prevents you to have a bash alias or a custom script doing > that. I agree with Jürgen, we should zero-pad this. This stuff is user-unfriendly enough without having to count chars or write shell functions. -- Álvaro Herrera http://www.2ndQuadrant.com/ PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services -- Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-bugs