Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1ZJMgb-0002gn-J2 for pgsql-bugs@arkaria.postgresql.org; Sun, 26 Jul 2015 14:13:53 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84) (envelope-from ) id 1ZJMgb-0005Iu-46 for pgsql-bugs@arkaria.postgresql.org; Sun, 26 Jul 2015 14:13:53 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84) (envelope-from ) id 1ZJMga-0005Ik-M9; Sun, 26 Jul 2015 14:13:52 +0000 Received: from mail.anarazel.de ([217.115.131.40]) by magus.postgresql.org with esmtp (Exim 4.84) (envelope-from ) id 1ZJMgT-0008HL-Pq; Sun, 26 Jul 2015 14:13:52 +0000 Received: by mail.anarazel.de (Postfix, from userid 108) id 06DB2860002; Sun, 26 Jul 2015 16:13:44 +0200 (CEST) X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on mail X-Spam-Level: X-Spam-Status: No, score=-5.6 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00 autolearn=ham version=3.2.5 Received: from anarazel.de (p5DDC4D3B.dip0.t-ipconnect.de [93.220.77.59]) (Authenticated sender: andres@anarazel.de) by mail.anarazel.de (Postfix) with ESMTPSA id E8A4A860002; Sun, 26 Jul 2015 16:13:41 +0200 (CEST) Received: by anarazel.de (Postfix, from userid 1000) id 7434410105B; Sun, 26 Jul 2015 16:13:41 +0200 (CEST) Date: Sun, 26 Jul 2015 16:13:41 +0200 From: Andres Freund To: Jeevan Chalke Cc: Andrew Gierth , Atri Sharma , PostgreSQL Hackers , Postgres-Bugs Subject: Re: [HACKERS] Grouping Sets: Fix unrecognized node type bug Message-ID: <20150726141341.GD5143@awork2.anarazel.de> References: <877fq1nz5s.fsf@news-spur.riddles.org.uk> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Pg-Spam-Score: -4.2 (----) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-bugs Precedence: bulk Sender: pgsql-bugs-owner@postgresql.org 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 : (nested inside a ) can contain . 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