Re: [BUGS] BUG #14244: wrong suffix for pg_size_pretty()

From: Peter Eisentraut <peter(dot)eisentraut(at)2ndquadrant(dot)com>
To: Bruce Momjian <bruce(at)momjian(dot)us>, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: Greg Stark <stark(at)mit(dot)edu>, "David G(dot) Johnston" <david(dot)g(dot)johnston(at)gmail(dot)com>, thomas(dot)berger(at)1und1(dot)de, PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: [BUGS] BUG #14244: wrong suffix for pg_size_pretty()
Date: 2016-08-01 18:48:55
Message-ID: 4d13a986-82f3-3e52-ec69-12e2df2d91ca@2ndquadrant.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs pgsql-hackers

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.

--
Peter Eisentraut http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services

In response to

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message Peter Eisentraut 2016-08-01 18:51:03 Re: [BUGS] BUG #14244: wrong suffix for pg_size_pretty()
Previous Message Bruce Momjian 2016-08-01 16:25:08 Re: pg_size_pretty, SHOW, and spaces

Browse pgsql-hackers by date

  From Date Subject
Next Message Peter Eisentraut 2016-08-01 18:51:03 Re: [BUGS] BUG #14244: wrong suffix for pg_size_pretty()
Previous Message Jeff Janes 2016-08-01 18:19:59 Re: pg_basebackup wish list