pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Andres Freund <andres@anarazel.de>
To: Jeevan Chalke <jeevan.chalke@enterprisedb.com>
Cc: Andrew Gierth <andrew@tao11.riddles.org.uk>
Cc: Atri Sharma <atri.jiit@gmail.com>
Cc: PostgreSQL Hackers <pgsql-hackers@postgresql.org>
Cc: Postgres-Bugs <pgsql-bugs@postgresql.org>
Subject: Re: [HACKERS] Grouping Sets: Fix unrecognized node type bug
Date: Sun, 26 Jul 2015 16:13:41 +0200
Message-ID: <20150726141341.GD5143@awork2.anarazel.de> (raw)
In-Reply-To: <CAM2+6=XPRgumbqWTsczbECC3xjv4zH1ryQ3fwds5uajON1iq2A@mail.gmail.com>
References: <CAM2+6=V5YvuxB+EyN4iH=GbD-XTA435TCNvnDFSD--YvXs+pww@mail.gmail.com>
	<877fq1nz5s.fsf@news-spur.riddles.org.uk>
	<CAM2+6=XPRgumbqWTsczbECC3xjv4zH1ryQ3fwds5uajON1iq2A@mail.gmail.com>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-bugs>

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


-- 
Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-bugs



view thread (9+ messages)  latest in thread

Message-ID: <20150726141341.GD5143@awork2.anarazel.de>
Permalink:  ../20150726141341.GD5143@awork2.anarazel.de/
Also on:    postgresql.org/message-id/20150726141341.GD5143@awork2.anarazel.de

 · 

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 from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-bugs@postgresql.org
  Cc: andres@anarazel.de, jeevan.chalke@enterprisedb.com, andrew@tao11.riddles.org.uk, atri.jiit@gmail.com, pgsql-hackers@postgresql.org
  Subject: Re: [HACKERS] Grouping Sets: Fix unrecognized node type bug
  In-Reply-To: <20150726141341.GD5143@awork2.anarazel.de>
  References: <CAM2+6=V5YvuxB+EyN4iH=GbD-XTA435TCNvnDFSD--YvXs+pww@mail.gmail.com> <877fq1nz5s.fsf@news-spur.riddles.org.uk> <CAM2+6=XPRgumbqWTsczbECC3xjv4zH1ryQ3fwds5uajON1iq2A@mail.gmail.com> <20150726141341.GD5143@awork2.anarazel.de>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox