From: | Andrey Borodin <amborodin86(at)gmail(dot)com> |
---|---|
To: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
Cc: | pgsql-hackers <pgsql-hackers(at)postgresql(dot)org> |
Subject: | Re: GROUP BY ALL |
Date: | 2022-12-19 04:40:00 |
Message-ID: | CAAhFRxiA_K6b4ps30Q623z7Xvc+whsr4wfKmtH0Vshsg3B7ThA@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
On Sun, Dec 18, 2022 at 8:30 PM Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> wrote:
>
> I'm not especially on board with "ALL" meaning "ALL (oh, but not
> aggregates)".
Yes, that's the weak part of the proposal. I even thought about
renaming it to "GROUP BY SOMEHOW" or even "GROUP BY SURPRISE ME".
I mean I see some cases when it's useful and much less cases when it's
dangerously ambiguous. E.g. grouping by result of a subquery looks way
too complex and unpredictable. But with simple Vars... what could go
wrong?
Best regards, Andrey Borodin.
From | Date | Subject | |
---|---|---|---|
Next Message | David G. Johnston | 2022-12-19 04:45:58 | Re: GROUP BY ALL |
Previous Message | Tom Lane | 2022-12-19 04:30:14 | Re: GROUP BY ALL |