public inbox for [email protected]
help / color / mirror / Atom feedFrom: Andrey Borodin <[email protected]>
To: Tom Lane <[email protected]>
Cc: pgsql-hackers <[email protected]>
Subject: Re: GROUP BY ALL
Date: Sun, 18 Dec 2022 20:40:00 -0800
Message-ID: <CAAhFRxiA_K6b4ps30Q623z7Xvc+whsr4wfKmtH0Vshsg3B7ThA@mail.gmail.com> (raw)
In-Reply-To: <[email protected]>
References: <CAAhFRxjyTO5BHn9y1oOSEp0TtpTDTTTb7HJBNhTG+i3-hXC0XQ@mail.gmail.com>
<[email protected]>
On Sun, Dec 18, 2022 at 8:30 PM Tom Lane <[email protected]> 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.
view thread (42+ messages) latest in thread
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 using the --to and --cc options:
reply via email
To: [email protected]
Cc: [email protected], [email protected]
Subject: Re: GROUP BY ALL
In-Reply-To: <CAAhFRxiA_K6b4ps30Q623z7Xvc+whsr4wfKmtH0Vshsg3B7ThA@mail.gmail.com>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox