Skip site navigation (1) Skip section navigation (2)

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

From: Bruce Momjian <bruce(at)momjian(dot)us>
To: Bruce Momjian <bruce(at)momjian(dot)us>
Cc: Peter Eisentraut <peter_e(at)gmx(dot)net>, 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 00:06:41
Message-ID: 201101270006.p0R06fF24588@momjian.us (view raw or flat)
Thread:
Lists: pgsql-hackers
Bruce Momjian wrote:
> Peter Eisentraut wrote:
> > We use small "k" in postgresql.conf, so pg_test_fsync should use the
> > same.  Using "kB" would be more accurate in any case.
> 
> OK, done with the attached applied patch.

FYI, I had used 'k' because this page suggests that k is 1000 and K is
1024, at least by the JEDEC memory standards:

	http://en.wikipedia.org/wiki/Kilo

-- 
  Bruce Momjian  <bruce(at)momjian(dot)us>        http://momjian.us
  EnterpriseDB                             http://enterprisedb.com

  + It's impossible for everything to be true. +

In response to

Responses

pgsql-hackers by date

Next:From: Tom LaneDate: 2011-01-27 00:12:52
Subject: Re: systable_getnext_ordered
Previous:From: Jan UrbaƄskiDate: 2011-01-26 23:43:53
Subject: Re: pl/python refactoring

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group