Re: GROUP BY ALL

Поиск
Список
Период
Сортировка
От Andrey Borodin
Тема Re: GROUP BY ALL
Дата
Msg-id CAAhFRxiA_K6b4ps30Q623z7Xvc+whsr4wfKmtH0Vshsg3B7ThA@mail.gmail.com
обсуждение исходный текст
Ответ на Re: GROUP BY ALL  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
On Sun, Dec 18, 2022 at 8:30 PM Tom Lane <tgl@sss.pgh.pa.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.



В списке pgsql-hackers по дате отправления:

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: GROUP BY ALL
Следующее
От: "David G. Johnston"
Дата:
Сообщение: Re: GROUP BY ALL