Re: BUG #13620: Streaming replication process titles should use zero padding for TX ids. - Mailing list pgsql-bugs

From Alvaro Herrera
Subject Re: BUG #13620: Streaming replication process titles should use zero padding for TX ids.
Date
Msg-id 20150915214001.GJ88970@alvherre.pgsql
Whole thread Raw
In response to Re: BUG #13620: Streaming replication process titles should use zero padding for TX ids.  (Michael Paquier <michael.paquier@gmail.com>)
Responses Re: BUG #13620: Streaming replication process titles should use zero padding for TX ids.  (David Gould <daveg@sonic.net>)
List pgsql-bugs
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

pgsql-bugs by date:

Previous
From: Michael Paquier
Date:
Subject: Re: BUG #13620: Streaming replication process titles should use zero padding for TX ids.
Next
From: David Gould
Date:
Subject: Re: BUG #13620: Streaming replication process titles should use zero padding for TX ids.