Re: Grouping Sets: Fix unrecognized node type bug - Mailing list pgsql-hackers

From Andres Freund
Subject Re: Grouping Sets: Fix unrecognized node type bug
Date
Msg-id 20150726141341.GD5143@awork2.anarazel.de
Whole thread Raw
In response to Re: Grouping Sets: Fix unrecognized node type bug  (Jeevan Chalke <jeevan.chalke@enterprisedb.com>)
List 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 by date:

Previous
From: Tom Lane
Date:
Subject: Re: Failing assertions in indxpath.c, placeholder.c and brin_minmax.c
Next
From: Dean Rasheed
Date:
Subject: Re: A little RLS oversight?