Re: Re: In pg_test_fsync, use K(1024) rather than k(1000) for write size units. - Mailing list pgsql-hackers

From Alvaro Herrera
Subject Re: Re: In pg_test_fsync, use K(1024) rather than k(1000) for write size units.
Date
Msg-id 1296163356-sup-3006@alvh.no-ip.org
Whole thread Raw
In response to Re: Re: In pg_test_fsync, use K(1024) rather than k(1000) for write size units.  ("Kevin Grittner" <Kevin.Grittner@wicourts.gov>)
Responses Re: Re: In pg_test_fsync, use K(1024) rather than k(1000) for write size units.  ("Kevin Grittner" <Kevin.Grittner@wicourts.gov>)
List pgsql-hackers
Excerpts from Kevin Grittner's message of jue ene 27 13:22:12 -0300 2011:
> Bruce Momjian <bruce@momjian.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@commandprompt.com>
The PostgreSQL Company - Command Prompt, Inc.
PostgreSQL Replication, Consulting, Custom Development, 24x7 support


pgsql-hackers by date:

Previous
From: Chris Browne
Date:
Subject: Re: Caution when removing git branches
Next
From: Jan Urbański
Date:
Subject: Re: pl/python SPI in subtransactions