Re: 8.1 system info / admin functions

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

Neil Conway <neilc(at)samurai(dot)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.

regards, tom lane

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Joshua D. Drake 2005-09-14 03:44:44 VACUUM VERBOSE 8.1dev
Previous Message Min Xu (Hsu) 2005-09-14 03:22:44 Re: Spinlocks, yet again: analysis and proposed patches