Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bcGZO-0003Pb-NN for pgsql-hackers@arkaria.postgresql.org; Tue, 23 Aug 2016 18:37:06 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1bcGZO-0004VV-AA for pgsql-hackers@arkaria.postgresql.org; Tue, 23 Aug 2016 18:37:06 +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 1bcGY1-0002R4-E3 for pgsql-hackers@postgresql.org; Tue, 23 Aug 2016 18:35:41 +0000 Received: from out2-smtp.messagingengine.com ([66.111.4.26]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1bcGXy-0000RL-JO for pgsql-hackers@postgresql.org; Tue, 23 Aug 2016 18:35:40 +0000 Received: from compute3.internal (compute3.nyi.internal [10.202.2.43]) by mailout.nyi.internal (Postfix) with ESMTP id 6764620712; Tue, 23 Aug 2016 14:35:36 -0400 (EDT) Received: from frontend1 ([10.202.2.160]) by compute3.internal (MEProxy); Tue, 23 Aug 2016 14:35:36 -0400 DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-sasl-enc :x-sasl-enc; s=smtpout; bh=VIPMrj0TOhskjgvevY3uKB8+ND8=; b=nVZuy ZjSyncQx1YPK6SY5CaBvSYxiz4S61wSe8JQ7eyuLHrJkXmUNtp5+agNJTdHJKIDF VtTWjjkONtD6ioivrKaiIsrvOblhNIN13GfKu3xSH8h7Wt6A51pfFgrBVfYv/KGy N+89Qrk5DibQYGg0LMJ1oxww3yPQxGu7FZdT1Q= X-Sasl-enc: W81+2MFC87LMMCSrhqAneJfHCCwr+aR7X2Tn5UfhmQdB 1471977336 Received: from intern.anarazel.de (somacentral1.static.monkeybrains.net [162.217.75.74]) by mail.messagingengine.com (Postfix) with ESMTPA id 1377DF296F; Tue, 23 Aug 2016 14:35:36 -0400 (EDT) Date: Tue, 23 Aug 2016 11:35:35 -0700 From: Andres Freund To: Bruce Momjian Cc: Robert Haas , thomas.berger@1und1.de, PostgreSQL-development Subject: Re: [BUGS] BUG #14244: wrong suffix for pg_size_pretty() Message-ID: <20160823183535.siyfxugmbzazs2fs@alap3.anarazel.de> References: <20160712133638.1409.99068@wrigleys.postgresql.org> <20160730001838.GA22405@momjian.us> <20160823174307.GB3895@momjian.us> <20160823174715.GC3895@momjian.us> <20160823175751.GE3895@momjian.us> <20160823183315.GF3895@momjian.us> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20160823183315.GF3895@momjian.us> X-Pg-Spam-Score: -2.6 (--) 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 2016-08-23 14:33:15 -0400, Bruce Momjian wrote: > On Tue, Aug 23, 2016 at 02:31:26PM -0400, Robert Haas wrote: > > On Tue, Aug 23, 2016 at 1:57 PM, Bruce Momjian wrote: > > > That's why I was asking you to comment on the final patch, which I am > > > planning to apply to PG 10 soon. > > > > Oh, OK. I didn't understand that that was what you are asking. I > > don't find either of your proposed final patches to be an improvement > > over the status quo. I think the selection of kB rather than KB was a > > deliberate decision by Peter Eisentraut, and I don't think changing > > our practice now buys us anything meaningful. Your first patch > > introduces an odd wart into the GUC mechanism, with a strange wording > > for the message, to fix something that's not really broken in the > > first place. Your second one alters kB to KB in zillions of places > > all over the code base, and I am quite sure that there is no consensus > > to do anything of that sort. > > Well, the patch was updated several times, and the final version was not > objected to until you objected. Does anyone else want to weigh in? To me the change doesn't seem beneficial. Noise aside, the added whitespace seems even seems detrimental to me. But I also don't really care much. -- Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-hackers