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

From: David Gould <daveg(at)sonic(dot)net>
To: Alvaro Herrera <alvherre(at)2ndquadrant(dot)com>
Cc: Michael Paquier <michael(dot)paquier(at)gmail(dot)com>, 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 22:47:20
Message-ID: 20150915154720.73ab0f15@engels
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

On Tue, 15 Sep 2015 18:40:02 -0300
Alvaro Herrera <alvherre(at)2ndquadrant(dot)com> wrote:

> 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.

+1

-dg

--
David Gould daveg(at)sonic(dot)net
If simplicity worked, the world would be overrun with insects.

In response to

Browse pgsql-bugs by date

  From Date Subject
Next Message Peter Eisentraut 2015-09-16 00:14:23 Re: BUG #13589: content error
Previous Message Alvaro Herrera 2015-09-15 21:40:02 Re: BUG #13620: Streaming replication process titles should use zero padding for TX ids.