Re: [PATCH] GROUP BY ALL

Поиск
Список
Период
Сортировка
От David Christensen
Тема Re: [PATCH] GROUP BY ALL
Дата
Msg-id CAHM0NXgP6-a75XgAR-WdKfzvDRcUv3=CipR+Zt2qmZ0T8bcABg@mail.gmail.com
обсуждение исходный текст
Ответ на Re: [PATCH] GROUP BY ALL  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: [PATCH] GROUP BY ALL
Список pgsql-hackers
On Sat, Sep 27, 2025 at 5:23 PM Tom Lane <tgl@sss.pgh.pa.us> wrote:
>
> Here's a v6 that's rebased up to HEAD and contains fixes for the
> semantic issues we discussed.  It still lacks documentation, but
> otherwise I think it's about ready to go.

Here is v7 with a stab at docs; fairly minimal at this point, but
touching the two areas that are likely to need adjusting.  When
adjusting the docs for sql-select, I noticed that the grammar also
supports `GROUP BY ALL <grouping_elements>`, so I also added a test to
ensure that this syntax is explicitly supported. (It seems like it
works as-is without further grammar adjustments, but I was a little
worried when I first saw that fact... :D)  Not sure that
aggregates.sql is still the right place for all of these bits, but it
does seem like having all things `GROUP BY ALL`-related tested in the
same place is a nice property, so leaving there for now.

David



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