pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: David Gould <daveg@sonic.net>
To: Alvaro Herrera <alvherre@2ndquadrant.com>
Cc: Michael Paquier <michael.paquier@gmail.com>
Cc: Jürgen Strobel <juergen+postgresql@strobel.info>
Cc: PostgreSQL mailing lists <pgsql-bugs@postgresql.org>
Subject: Re: BUG #13620: Streaming replication process titles should use zero padding for TX ids.
Date: Tue, 15 Sep 2015 15:47:20 -0700
Message-ID: <20150915154720.73ab0f15@engels> (raw)
In-Reply-To: <20150915214001.GJ88970@alvherre.pgsql>
References: <20150915104236.2674.33056@wrigleys.postgresql.org>
	<CAB7nPqRP+BwapW4ZcfAS84-Rb3YDoCAqjss794dsOoMnv9ZM6g@mail.gmail.com>
	<55F88D4D.7010102@strobel.info>
	<CAB7nPqTgvZfTCACq+NZN4p7FrXeOEL3YL7zVucv2ONVZWo_Y+A@mail.gmail.com>
	<20150915214001.GJ88970@alvherre.pgsql>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-bugs>

On Tue, 15 Sep 2015 18:40:02 -0300
Alvaro Herrera <alvherre@2ndquadrant.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@sonic.net
If simplicity worked, the world would be overrun with insects.


-- 
Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-bugs



view thread (6+ messages)

Message-ID: <20150915154720.73ab0f15@engels>
Permalink:  ../20150915154720.73ab0f15@engels/
Also on:    postgresql.org/message-id/20150915154720.73ab0f15@engels

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-bugs@postgresql.org
  Cc: daveg@sonic.net, alvherre@2ndquadrant.com, michael.paquier@gmail.com, juergen+postgresql@strobel.info
  Subject: Re: BUG #13620: Streaming replication process titles should use zero padding for TX ids.
  In-Reply-To: <20150915154720.73ab0f15@engels>
  References: <20150915104236.2674.33056@wrigleys.postgresql.org> <CAB7nPqRP+BwapW4ZcfAS84-Rb3YDoCAqjss794dsOoMnv9ZM6g@mail.gmail.com> <55F88D4D.7010102@strobel.info> <CAB7nPqTgvZfTCACq+NZN4p7FrXeOEL3YL7zVucv2ONVZWo_Y+A@mail.gmail.com> <20150915214001.GJ88970@alvherre.pgsql> <20150915154720.73ab0f15@engels>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox