Re: BUG #13620: Streaming replication process titles should use zero padding for TX ids.

From: Alvaro Herrera <alvherre(at)2ndquadrant(dot)com>
To: Michael Paquier <michael(dot)paquier(at)gmail(dot)com>
Cc: Jürgen Strobel <juergen+postgresql(at)strobel(dot)info>, PostgreSQL mailing lists <pgsql-bugs(at)postgresql(dot)org>
Subject: Re: BUG #13620: Streaming replication process titles should use zero padding for TX ids.
Date: 2015-09-15 21:40:02
Message-ID: 20150915214001.GJ88970@alvherre.pgsql
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

In response to

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message David Gould 2015-09-15 22:47:20 Re: BUG #13620: Streaming replication process titles should use zero padding for TX ids.
Previous Message Michael Paquier 2015-09-15 21:32:15 Re: BUG #13620: Streaming replication process titles should use zero padding for TX ids.