Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bcFtE-0001BV-7M for pgsql-hackers@arkaria.postgresql.org; Tue, 23 Aug 2016 17:53: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 1bcFtD-00052K-Lf for pgsql-hackers@arkaria.postgresql.org; Tue, 23 Aug 2016 17:53: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 1bcFtC-00050s-Nw for pgsql-hackers@postgresql.org; Tue, 23 Aug 2016 17:53:30 +0000 Received: from mail-qk0-x229.google.com ([2607:f8b0:400d:c09::229]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.84_2) (envelope-from ) id 1bcFt9-0007x4-BC for pgsql-hackers@postgresql.org; Tue, 23 Aug 2016 17:53:30 +0000 Received: by mail-qk0-x229.google.com with SMTP id z190so114136532qkc.0 for ; Tue, 23 Aug 2016 10:53:26 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=uXmlV/l4z/+TfcDn3eo08S1Oiayku5lQLflH2PyYetU=; b=qQSRlnpxl43wl+N82CMRk23hqeKOBNVPIc/AXkh/4CZIMddGrd64zR1GZ0utbpkOFS dSWfWGUlOfgYVhwspBkKF1wDbL3fJU9wwwh44w/R0rNyvl3fvLAJ8R3Uw+j2t7+Ep42h DbgWJK059GvOfM+HXJdcAztLqe20K7EhnizVMb4/nOudzOuhOdZDPx1syUOmbw9pMZK/ siKyghG+xI9f261UZDt1H74IRsfP88YOiQXRLeu+8Uo4AZZfCZsMOO47M2U0/Lxf4Wg9 7HRp/RORmGxHiL2iHe6s7z5p+YR14gfdeH+LW+2ZsDVl3oOn15g+8p5gO6bjd1VLxDpC X7RA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=uXmlV/l4z/+TfcDn3eo08S1Oiayku5lQLflH2PyYetU=; b=j7bwtnPnap32hssqVx5u7LTrxw4YMd2arTucbu1ET16WuPtOpptONctBfJNwZyxZvZ MyWoV+ZjSfOja28H0gGhMpILrKnfGqOraZRaSYM4Nnbqozs7v9kTnb+/cDT1hQifK+8a nH4WisPyWSb1+IJlzwUpAaxICLQNaevsD0gpKiSpjoMNQQ/yeDwdz1TDpNM7Lpvm3DiI m/AlW6glbZ4sfD8j8pC6OMK2yNj/arfSyqd/zMOVargKl5K7KEM0JeYn5nd7GPIewDn5 UeRPJ+3xMySksaj7BACP+jqJKmIQ0NNB8HlGoOr/4Umvbq7RVaCCjt0W0H9d0BwXZvZp mBBw== X-Gm-Message-State: AEkooutjntNpjxM+xDPr+W3kdsF4BMzil4hRPJftKs/HrYwhRTcJtIWwW1IT3GxtrZbYpp/XU6KZbKzHRqPFyA== X-Received: by 10.55.16.218 with SMTP id 87mr32927757qkq.220.1471974805571; Tue, 23 Aug 2016 10:53:25 -0700 (PDT) MIME-Version: 1.0 Received: by 10.237.49.75 with HTTP; Tue, 23 Aug 2016 10:53:25 -0700 (PDT) In-Reply-To: <20160823174715.GC3895@momjian.us> References: <20160712133638.1409.99068@wrigleys.postgresql.org> <20160730001838.GA22405@momjian.us> <20160823174307.GB3895@momjian.us> <20160823174715.GC3895@momjian.us> From: Robert Haas Date: Tue, 23 Aug 2016 13:53:25 -0400 Message-ID: Subject: Re: [BUGS] BUG #14244: wrong suffix for pg_size_pretty() To: Bruce Momjian Cc: thomas.berger@1und1.de, PostgreSQL-development Content-Type: text/plain; charset=UTF-8 X-Pg-Spam-Score: -2.0 (--) 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 Tue, Aug 23, 2016 at 1:47 PM, Bruce Momjian wrote: >> I have already read the entire thread, and replied only after reading >> all messages. > > Well, what are you replying to then? Your original message. I'm arguing that we should not change the behavior, as you proposed to do. > There is no GUC used, and > everything is backward compatible. Greg Stark proposed a GUC. I don't think that's a good idea. You proposed to change the behavior in a way that is not backward-compatible. I don't think that's a good idea either. If you are saying that you've dropped those proposals, fine, but I think it's entirely reasonable for me to express my opinion on them. It was not evident to me that the thread had reached any kind of consensus. > Your hyperbole about a new user > being confused is also not helpful. What is this "chaos" you are > talking about? Behavior-changing GUCs are bad news for reasons that have been discussed many times before: they create a requirement that everybody who writes code intended to run on arbitrary PostgreSQL installation be prepared to cater to every possible value of that GUC. pg_size_pretty() is pretty likely to appear in queries that we give users to run on their systems, so it would be a particularly poor choice to make its behavior configurable. -- Robert Haas EnterpriseDB: http://www.enterprisedb.com The Enterprise PostgreSQL Company -- Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-hackers