Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bUIKG-0004e5-4i for pgsql-hackers@arkaria.postgresql.org; Mon, 01 Aug 2016 18:52:32 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1bUIKF-0007c7-Nt for pgsql-hackers@arkaria.postgresql.org; Mon, 01 Aug 2016 18:52:31 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1bUIKE-0007X0-35 for pgsql-hackers@postgresql.org; Mon, 01 Aug 2016 18:52:30 +0000 Received: from momjian.us ([72.94.173.45]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.84_2) (envelope-from ) id 1bUIKA-0007tZ-9w for pgsql-hackers@postgresql.org; Mon, 01 Aug 2016 18:52:29 +0000 Received: from bruce by momjian.us with local (Exim 4.84_2) (envelope-from ) id 1bUIK7-0001sg-7K; Mon, 01 Aug 2016 14:52:23 -0400 Date: Mon, 1 Aug 2016 14:52:23 -0400 From: Bruce Momjian To: Peter Eisentraut Cc: Tom Lane , Greg Stark , "David G. Johnston" , thomas.berger@1und1.de, PostgreSQL-development Subject: Re: [BUGS] BUG #14244: wrong suffix for pg_size_pretty() Message-ID: <20160801185223.GE28246@momjian.us> References: <20160712133638.1409.99068@wrigleys.postgresql.org> <20160730001838.GA22405@momjian.us> <794.1469889358@sss.pgh.pa.us> <20160730181643.GD22405@momjian.us> <4d13a986-82f3-3e52-ec69-12e2df2d91ca@2ndquadrant.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4d13a986-82f3-3e52-ec69-12e2df2d91ca@2ndquadrant.com> User-Agent: Mutt/1.5.23 (2014-03-12) X-Pg-Spam-Score: -3.1 (---) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-hackers Precedence: bulk Sender: pgsql-hackers-owner@postgresql.org 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 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