Re: Re: In pg_test_fsync, use K(1024) rather than k(1000) for write size units.

From: Bruce Momjian <bruce(at)momjian(dot)us>
To: Kevin Grittner <Kevin(dot)Grittner(at)wicourts(dot)gov>
Cc: Nicolas Barbier <nicolas(dot)barbier(at)gmail(dot)com>, Peter Eisentraut <peter_e(at)gmx(dot)net>, pgsql-hackers(at)postgresql(dot)org
Subject: Re: Re: In pg_test_fsync, use K(1024) rather than k(1000) for write size units.
Date: 2011-01-27 16:33:55
Message-ID: 201101271633.p0RGXtH11225@momjian.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Kevin Grittner wrote:
> Bruce Momjian <bruce(at)momjian(dot)us> wrote:
>
> > http://en.wikipedia.org/wiki/Bytes#Unit_symbol
> >
> > You can see the chart on the right.
>
> According to which, the JEDEC standard requires KB and the IEC
> standard requires KiB. What standard led us to use kB instead? It
> seems to generally mean 1000 instead of 1024.

I assume Peter did lots of research when he added 'kB' to
postgresql.conf.

> > However, I agree 'kB' is the best.
>
> Why?

No idea.

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

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2011-01-27 16:35:01 Re: ALTER TYPE 3: add facility to identify further no-work cases
Previous Message Tom Lane 2011-01-27 16:29:24 Re: Caution when removing git branches