Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1Zbz0L-0003n4-9Y for pgsql-bugs@arkaria.postgresql.org; Tue, 15 Sep 2015 22:47:13 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84) (envelope-from ) id 1Zbz0K-0000mR-QD for pgsql-bugs@arkaria.postgresql.org; Tue, 15 Sep 2015 22:47:12 +0000 Received: from makus.postgresql.org ([2001:4800:1501:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84) (envelope-from ) id 1Zbz0J-0000lu-R0 for pgsql-bugs@postgresql.org; Tue, 15 Sep 2015 22:47:11 +0000 Received: from d.mail.sonic.net ([64.142.111.50]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84) (envelope-from ) id 1Zbz0H-0006OT-Ef for pgsql-bugs@postgresql.org; Tue, 15 Sep 2015 22:47:10 +0000 Received: from engels (162-236-13-58.lightspeed.sntcca.sbcglobal.net [162.236.13.58]) (authenticated bits=0) by d.mail.sonic.net (8.15.1/8.15.1) with ESMTPSA id t8FMl3Fx006863 (version=TLSv1.2 cipher=DHE-RSA-AES128-SHA256 bits=128 verify=NOT); Tue, 15 Sep 2015 15:47:04 -0700 Date: Tue, 15 Sep 2015 15:47:20 -0700 From: David Gould To: Alvaro Herrera Cc: Michael Paquier , =?UTF-8?B?SsO8cmdlbg==?= Strobel , PostgreSQL mailing lists Subject: Re: BUG #13620: Streaming replication process titles should use zero padding for TX ids. Message-ID: <20150915154720.73ab0f15@engels> In-Reply-To: <20150915214001.GJ88970@alvherre.pgsql> References: <20150915104236.2674.33056@wrigleys.postgresql.org> <55F88D4D.7010102@strobel.info> <20150915214001.GJ88970@alvherre.pgsql> X-Mailer: Claws Mail 3.11.1 (GTK+ 2.24.23; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Sonic-CAuth: UmFuZG9tSVbYonRCXHgCDvtDAY4rLxTANXlZ9Gl+x2zNPE3pb/4QX5jNgzz9aDeVum8Pwrj1zGCObjs2kPvSrDaQfAFXFx8b X-Sonic-ID: C;rIgtr/tb5RGFn+K7sH9FTg== M;Zlplr/tb5RGFn+K7sH9FTg== X-Spam-Flag: No X-Sonic-Spam-Details: 0.0/5.0 by cerberusd X-Pg-Spam-Score: -2.6 (--) 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 On Tue, 15 Sep 2015 18:40:02 -0300 Alvaro Herrera wrote: > Michael Paquier wrote: > > On Tue, Sep 15, 2015 at 2:27 PM, J=C3=BCrgen 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. > >=20 > > Nothing prevents you to have a bash alias or a custom script doing > > that. >=20 > I agree with J=C3=BCrgen, we should zero-pad this. This stuff is > user-unfriendly enough without having to count chars or write shell > functions. +1 -dg=20 --=20 David Gould daveg@sonic.net If simplicity worked, the world would be overrun with insects. --=20 Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-bugs