From: Bruce Momjian <bruce@momjian.us>
To: Peter Eisentraut <peter.eisentraut@2ndquadrant.com>
Cc: Tom Lane <tgl@sss.pgh.pa.us>
Cc: Greg Stark <stark@mit.edu>
Cc: David G. Johnston <david.g.johnston@gmail.com>
Cc: thomas.berger@1und1.de, PostgreSQL-development <pgsql-hackers@postgresql.org>
Subject: Re: [BUGS] BUG #14244: wrong suffix for pg_size_pretty()
Date: Mon, 1 Aug 2016 14:52:23 -0400
Message-ID: <20160801185223.GE28246@momjian.us> (raw)
In-Reply-To: <4d13a986-82f3-3e52-ec69-12e2df2d91ca@2ndquadrant.com>
References: <20160712133638.1409.99068@wrigleys.postgresql.org>
<20160730001838.GA22405@momjian.us>
<CAKFQuwabqqy-R76GnaCL+KWOmipC0mio=mFoZqoXqDQSw+YwTg@mail.gmail.com>
<CAM-w4HNRZmna6BFRQYDmXV_nH26YAJD-5m2yLHQWrRh08yb9hg@mail.gmail.com>
<794.1469889358@sss.pgh.pa.us>
<20160730181643.GD22405@momjian.us>
<4d13a986-82f3-3e52-ec69-12e2df2d91ca@2ndquadrant.com>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-hackers>
On Mon, Aug 1, 2016 at 02:48:55PM -0400, Peter Eisentraut wrote:
> On 7/30/16 2:16 PM, Bruce Momjian wrote:
> > The second patch does what Tom suggests above by outputting only "KB",
> > and it supports "kB" for backward compatibility. What it doesn't do is
> > to allow arbitrary case, which I think would be a step backward. The
> > second patch actually does match the JEDEC standard, except for allowing
> > "kB".
>
> If we're going to make changes, why not bite the bullet and output KiB?
>
> I have never heard of JEDEC, so I'm less inclined to accept their
> "standard" at this point.
I already address this. While I have never heard of JEDEC either, I
have seen KB, and have never seen KiB, hence my argument that KiB would
lead to more confusion than we have now.
--
Bruce Momjian <bruce@momjian.us> http://momjian.us
EnterpriseDB http://enterprisedb.com
+ As you are, so once was I. As I am, so you will be. +
+ Ancient Roman grave inscription +
--
Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-hackers
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-bugs@postgresql.org
Cc: bruce@momjian.us, peter.eisentraut@2ndquadrant.com, tgl@sss.pgh.pa.us, stark@mit.edu, david.g.johnston@gmail.com, pgsql-hackers@postgresql.org
Subject: Re: [BUGS] BUG #14244: wrong suffix for pg_size_pretty()
In-Reply-To: <20160801185223.GE28246@momjian.us>
References: <20160712133638.1409.99068@wrigleys.postgresql.org> <20160730001838.GA22405@momjian.us> <CAKFQuwabqqy-R76GnaCL+KWOmipC0mio=mFoZqoXqDQSw+YwTg@mail.gmail.com> <CAM-w4HNRZmna6BFRQYDmXV_nH26YAJD-5m2yLHQWrRh08yb9hg@mail.gmail.com> <794.1469889358@sss.pgh.pa.us> <20160730181643.GD22405@momjian.us> <4d13a986-82f3-3e52-ec69-12e2df2d91ca@2ndquadrant.com> <20160801185223.GE28246@momjian.us>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox