Re: pgsql: pg_test_fsync: update output to show usecs/op clearer

From: Bruce Momjian <bruce(at)momjian(dot)us>
To: Andres Freund <andres(at)2ndquadrant(dot)com>
Cc: Dimitri Fontaine <dimitri(at)2ndQuadrant(dot)fr>, Peter Geoghegan <pg(at)heroku(dot)com>, pgsql-committers(at)postgresql(dot)org
Subject: Re: pgsql: pg_test_fsync: update output to show usecs/op clearer
Date: 2013-05-02 16:21:10
Message-ID: 20130502162110.GD24822@momjian.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

On Thu, May 2, 2013 at 06:13:11PM +0200, Andres Freund wrote:
> On 2013-05-02 12:09:22 -0400, Bruce Momjian wrote:
> > On Thu, May 2, 2013 at 05:44:07PM +0200, Dimitri Fontaine wrote:
> > > Peter Geoghegan <pg(at)heroku(dot)com> writes:
> > > > On Thu, May 2, 2013 at 7:27 AM, Bruce Momjian <bruce(at)momjian(dot)us> wrote:
> > > >> pg_test_fsync: update output to show usecs/op clearer
> > > >
> > > > I don't think that this is an improvement. Not everyone knows that
> > > > usec is shorthand for microsecond.
> > >
> > > Use unicode super power and ouput µsec, as it's meant to be? Then google
> > > is useful again, for the smaller number of people who would need it.
> >
> > That would be cool, but I don't think we can assume everyone running
> > these tools is on a UTF8-enabled terminal.
>
> I don't care about the symbol here, but I think psql has code to
> determine that for its line drawing stuff...

Uh, yeah, I think it does. I question whether a command-line diagnostic
tool really should use it though. It might also make grep of the result
difficult.

--
Bruce Momjian <bruce(at)momjian(dot)us> http://momjian.us
EnterpriseDB http://enterprisedb.com

+ It's impossible for everything to be true. +

In response to

Responses

Browse pgsql-committers by date

  From Date Subject
Next Message Dimitri Fontaine 2013-05-02 16:29:34 Re: pgsql: pg_test_fsync: update output to show usecs/op clearer
Previous Message Andres Freund 2013-05-02 16:13:11 Re: pgsql: pg_test_fsync: update output to show usecs/op clearer