Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1ZHyyi-0004t5-2C for pgsql-bugs@arkaria.postgresql.org; Wed, 22 Jul 2015 18:42:52 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84) (envelope-from ) id 1ZHyyh-0000Qc-FG for pgsql-bugs@arkaria.postgresql.org; Wed, 22 Jul 2015 18:42:51 +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 1ZHyyg-0000QE-Mw; Wed, 22 Jul 2015 18:42:50 +0000 Received: from mail.anarazel.de ([217.115.131.40]) by magus.postgresql.org with esmtp (Exim 4.84) (envelope-from ) id 1ZHyyd-00037d-Gt; Wed, 22 Jul 2015 18:42:50 +0000 Received: by mail.anarazel.de (Postfix, from userid 108) id 1F386860003; Wed, 22 Jul 2015 20:42:46 +0200 (CEST) X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on mail X-Spam-Level: X-Spam-Status: No, score=-6.4 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00 autolearn=ham version=3.2.5 Received: from anarazel.de (p5DDC6ED2.dip0.t-ipconnect.de [93.220.110.210]) (Authenticated sender: andres@anarazel.de) by mail.anarazel.de (Postfix) with ESMTPSA id 30F64860001; Wed, 22 Jul 2015 20:42:43 +0200 (CEST) Received: by anarazel.de (Postfix, from userid 1000) id B30E9100C3E; Wed, 22 Jul 2015 20:42:42 +0200 (CEST) Date: Wed, 22 Jul 2015 20:42:42 +0200 From: Andres Freund To: Jeevan Chalke Cc: PostgreSQL Hackers , Postgres-Bugs Subject: Re: [HACKERS] Gsets: ROW expression semantic broken between 9.4 and 9.5 Message-ID: <20150722184242.GA21169@awork2.anarazel.de> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Pg-Spam-Score: -5.4 (-----) 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 Hi, On 2015-07-22 23:53:26 +0530, Jeevan Chalke wrote: > It looks like we have broken the ROW expression without explicit > ROW keyword in GROUP BY. That was "intentional", and is actually standards required behaviour. GROUP BY (a, b) is the same as GROUP BY a,b. It'd otherwise be pretty confusing because parens in GROUPING SETS would mean something different than in GROUP BY. We should probably add a release note entry about it... Thanks for testing gsets! - Andres -- Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-bugs