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

From Stephen Frost
Subject Re: 8.1 system info / admin functions
Date
Msg-id 20050914133943.GQ6026@ns.snowman.net
Whole thread Raw
In response to Re: 8.1 system info / admin functions  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: 8.1 system info / admin functions
List pgsql-hackers
* Tom Lane (tgl@sss.pgh.pa.us) wrote:
> Neil Conway <neilc@samurai.com> writes:
> > While we're on the subject, the units used by pg_size_pretty() are
> > incorrect, at least according to the IEC: for example, "MB" is
> > strictly-speaking one million bytes, not 1024^2 bytes. 1024^2 bytes is 1
> > MiB (similarly for KiB, GiB, and TiB). I'll take a look at fixing this
> > as well, barring any objections.
>
> [ 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.

That isn't entirely accurate, unfortunately.  Telecom also generally
uses decimal.  I'm as unhappy with the current situation as anyone but
it's not just disk makers & marketing folks, even amoung the computing
industry.
Thanks,
    Stephen

pgsql-hackers by date:

Previous
From: Dave Cramer
Date:
Subject: Re: VACUUM VERBOSE 8.1dev
Next
From: Tom Lane
Date:
Subject: Re: Bug with cursor declaration in plpgsql? (Repost)