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