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

From: Alvaro Herrera <alvherre(at)commandprompt(dot)com>
To: Kevin Grittner <kevin(dot)grittner(at)wicourts(dot)gov>
Cc: Nicolas Barbier <nicolas(dot)barbier(at)gmail(dot)com>, Bruce Momjian <bruce(at)momjian(dot)us>, Peter Eisentraut <peter_e(at)gmx(dot)net>, pgsql-hackers <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 21:24:18
Message-ID: 1296163356-sup-3006@alvh.no-ip.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Excerpts from Kevin Grittner's message of jue ene 27 13:22:12 -0300 2011:
> 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.

http://en.wikipedia.org/wiki/International_System_of_Units#Writing_unit_symbols_and_the_values_of_quantities

--
Álvaro Herrera <alvherre(at)commandprompt(dot)com>
The PostgreSQL Company - Command Prompt, Inc.
PostgreSQL Replication, Consulting, Custom Development, 24x7 support

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Jan Urbański 2011-01-27 21:33:01 Re: pl/python SPI in subtransactions
Previous Message Noah Misch 2011-01-27 19:48:35 Re: ALTER TYPE 2: skip already-provable no-work rewrites