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

From Kevin Grittner
Subject Re: Re: In pg_test_fsync, use K(1024) rather than k(1000) for write size units.
Date
Msg-id 4D41914B0200002500039EE2@gw.wicourts.gov
Whole thread Raw
In response to Re: Re: In pg_test_fsync, use K(1024) rather than k(1000) for write size units.  (Alvaro Herrera <alvherre@commandprompt.com>)
List pgsql-hackers
Alvaro Herrera <alvherre@commandprompt.com> wrote:
> 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
That seems to agree with the other page that k means 10^3, not 2^10
-- or am I missing something?  We are treating it as 2^10 in our
GUCs, aren't we?
-Kevin


pgsql-hackers by date:

Previous
From: Jan Urbański
Date:
Subject: Re: pl/python SPI in subtransactions
Next
From: Jan Urbański
Date:
Subject: Re: REVIEW: PL/Python table functions