pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Bruce Momjian <bruce@momjian.us>
To: Robert Haas <robertmhaas@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: Tue, 23 Aug 2016 13:57:51 -0400
Message-ID: <20160823175751.GE3895@momjian.us> (raw)
In-Reply-To: <CA+TgmoZ6PWM55SguTSG=O2L7o64Wg9bW4SnF_Cc9vDxUb6rYjw@mail.gmail.com>
References: <20160712133638.1409.99068@wrigleys.postgresql.org>
	<20160730001838.GA22405@momjian.us>
	<CA+TgmoY1KS_2CsJ9R+TKq_HuR-rdMYmtmDvX7FVd9e5GsX8hyw@mail.gmail.com>
	<20160823174307.GB3895@momjian.us>
	<CA+Tgmobu7N81ViR-XwOdL8C=9njNacYwADPp_KPR6DmqDj7u-g@mail.gmail.com>
	<20160823174715.GC3895@momjian.us>
	<CA+TgmoZ6PWM55SguTSG=O2L7o64Wg9bW4SnF_Cc9vDxUb6rYjw@mail.gmail.com>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-hackers>

On Tue, Aug 23, 2016 at 01:53:25PM -0400, Robert Haas wrote:
> On Tue, Aug 23, 2016 at 1:47 PM, Bruce Momjian <bruce@momjian.us> 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.

That's why I was asking you to comment on the final patch, which I am
planning to apply to PG 10 soon.

> > 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.

Uh, the patch was the consensus, as I had several versions.  It was not
clear from your email what you thought of the patch, or if your comments
applied to the final patch at all.  The email you quoted was mine, but
from a very early stage in the discussion.

> > 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.

There is no question on that point.

-- 
  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



view thread (31+ messages)  latest in thread

Message-ID: <20160823175751.GE3895@momjian.us>
Permalink:  ../20160823175751.GE3895@momjian.us/
Also on:    postgresql.org/message-id/20160823175751.GE3895@momjian.us

 · 

reply

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, robertmhaas@gmail.com, pgsql-hackers@postgresql.org
  Subject: Re: [BUGS] BUG #14244: wrong suffix for pg_size_pretty()
  In-Reply-To: <20160823175751.GE3895@momjian.us>
  References: <20160712133638.1409.99068@wrigleys.postgresql.org> <20160730001838.GA22405@momjian.us> <CA+TgmoY1KS_2CsJ9R+TKq_HuR-rdMYmtmDvX7FVd9e5GsX8hyw@mail.gmail.com> <20160823174307.GB3895@momjian.us> <CA+Tgmobu7N81ViR-XwOdL8C=9njNacYwADPp_KPR6DmqDj7u-g@mail.gmail.com> <20160823174715.GC3895@momjian.us> <CA+TgmoZ6PWM55SguTSG=O2L7o64Wg9bW4SnF_Cc9vDxUb6rYjw@mail.gmail.com> <20160823175751.GE3895@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