Re: Grouping Sets: Fix unrecognized node type bug

Поиск
Список
Период
Сортировка
От Andres Freund
Тема Re: Grouping Sets: Fix unrecognized node type bug
Дата
Msg-id 20150726141341.GD5143@awork2.anarazel.de
обсуждение исходный текст
Ответ на Re: Grouping Sets: Fix unrecognized node type bug  (Jeevan Chalke <jeevan.chalke@enterprisedb.com>)
Список pgsql-hackers
On 2015-07-17 11:37:26 +0530, Jeevan Chalke wrote:
> However I wonder why we are supporting GROUPING SETS inside GROUPING SETS.
> On Oracle, it is throwing an error.
> We are not trying to be Oracle compatible, but just curious to know.

The SQL specification seems to be pretty unambigous about supporting
nested grouping set specifications. Check 7.9 <group by
clause>: <grouping set> (nested inside a <grouping sets specification>)
can contain <grouping sets specification>.

Regards,

Andres



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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: Failing assertions in indxpath.c, placeholder.c and brin_minmax.c
Следующее
От: Dean Rasheed
Дата:
Сообщение: Re: A little RLS oversight?