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

From Bruce Momjian
Subject Re: Re: In pg_test_fsync, use K(1024) rather than k(1000) for write size units.
Date
Msg-id 201101271633.p0RGXtH11225@momjian.us
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>)
List pgsql-hackers
Kevin Grittner wrote:
> 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.
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@momjian.us>        http://momjian.us EnterpriseDB
http://enterprisedb.com
 + It's impossible for everything to be true. +


pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: Caution when removing git branches
Next
From: Tom Lane
Date:
Subject: Re: ALTER TYPE 3: add facility to identify further no-work cases