Re: 8.1 system info / admin functions

From: Neil Conway <neilc(at)samurai(dot)com>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: 8.1 system info / admin functions
Date: 2005-09-14 05:37:51
Message-ID: 4327B72F.9030101@samurai.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Tom Lane wrote:
> [ itch... ] The IEC may think they get to define what's correct, but
> I don't think that squares with common usage. The only people who
> think MB is measured in decimal are disk-manufacturer marketroids.

Well, just them and the IEEE :)

While common usage has been to use kB to mean 1024 bytes, that isn't
even consistent with the use of the "kilo" prefix for other units (for
example, a kilometer is 1000 meters, not 1024). "Common usage" is simply
mistaken here, IMHO.

(Of course, it doesn't really matter in this case because
pg_pretty_size() is an approximation anyway.)

-Neil

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Neil Conway 2005-09-14 06:33:25 Re: 8.1 system info / admin functions
Previous Message Joshua D. Drake 2005-09-14 04:03:27 Re: VACUUM VERBOSE 8.1dev