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

Bruce Momjian <bruce@momjian.us>

From: Bruce Momjian <bruce@momjian.us>
To: Kevin Grittner <Kevin.Grittner@wicourts.gov>
Cc: Nicolas Barbier <nicolas.barbier@gmail.com>, Peter Eisentraut <peter_e@gmx.net>, pgsql-hackers@postgresql.org
Date: 2011-01-27T16:33:55Z
Lists: 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. +