Re: FILTER/WITHIN GROUP vs. expressions; is a HINT possible here?

From: "David G(dot) Johnston" <david(dot)g(dot)johnston(at)gmail(dot)com>
To: Josh Berkus <josh(at)agliodbs(dot)com>
Cc: PostgreSQL Hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: FILTER/WITHIN GROUP vs. expressions; is a HINT possible here?
Date: 2015-04-16 20:18:52
Message-ID: CAKFQuwb=zoog5FG4QOfQSriCR3SzFSH+jtYfZ5se-VF1vgRESQ@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Thu, Apr 16, 2015 at 1:06 PM, Josh Berkus <josh(at)agliodbs(dot)com> wrote:

> On 04/16/2015 01:01 PM, David G. Johnston wrote:
> > If this is not covered adequately enough in the documentation then that
> > should be remedied. Did you evaluate the documentation in that light
> > while preparing your blog post?
>
> Your response seems very defensive. I'm unclear on why discussing
> improving an error message should get such a hostile response; it
> certainly doesn't invite a serious reply.
>
>
Mostly because ​I have no clue how difficult it would be​...

​I'm all for improvement but obviously if it was that simple you would have
just proposed the desired wording and asked someone to commit it. I was
trying to understand (and communicate my understanding) why it wasn't done
better in the first place.

Beyond that there is still the need to teach the user the correct syntax of
these functions - and not only point out when they get it wrong so they
blindly fix their typo - in order to better avoid the situation where the
syntax is valid but the outcome is unexpected. Two separate problems of
which the later seems more important than the former - and probably
somewhat easier to implement.

David J.

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Alvaro Herrera 2015-04-16 20:27:42 Re: Turning off HOT/Cleanup sometimes
Previous Message Josh Berkus 2015-04-16 20:06:18 Re: FILTER/WITHIN GROUP vs. expressions; is a HINT possible here?