Re: 8.1 system info / admin functions - Mailing list pgsql-hackers

From Neil Conway
Subject Re: 8.1 system info / admin functions
Date
Msg-id 4327B72F.9030101@samurai.com
Whole thread Raw
In response to Re: 8.1 system info / admin functions  (Tom Lane <tgl@sss.pgh.pa.us>)
List 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


pgsql-hackers by date:

Previous
From: "Joshua D. Drake"
Date:
Subject: Re: VACUUM VERBOSE 8.1dev
Next
From: Neil Conway
Date:
Subject: Re: 8.1 system info / admin functions