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

From: Bruce Momjian <bruce(at)momjian(dot)us>
To: Dimitri Fontaine <dimitri(at)2ndQuadrant(dot)fr>
Cc: Andres Freund <andres(at)2ndquadrant(dot)com>, 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:37:22
Message-ID: 20130502163722.GF24822@momjian.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

On Thu, May 2, 2013 at 06:29:34PM +0200, Dimitri Fontaine wrote:
> Bruce Momjian <bruce(at)momjian(dot)us> writes:
> > 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.
>
> Hey, it's 2013 outside. Just saying:
>
> $ echo 'µsec' | grep µsec
> µsec
> $ echo 'µsec' | awk '/µsec/'
> µsec
>
> Maybe there's no practical problem here,

My point is that tools would need to adjust to output not knowing if
they are getting UTF8 output, e.g.:

grep '(µ|u)sec'

Do any of the OS tools output UTF8 bytes as headers? I have never seen
it.

--
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:41:53 Re: pgsql: pg_test_fsync: update output to show usecs/op clearer
Previous Message Dimitri Fontaine 2013-05-02 16:29:34 Re: pgsql: pg_test_fsync: update output to show usecs/op clearer