Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1v3KxN-00EisF-U3 for pgsql-hackers@arkaria.postgresql.org; Mon, 29 Sep 2025 20:58:49 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.94.2) (envelope-from ) id 1v3KxL-0043pA-QT for pgsql-hackers@arkaria.postgresql.org; Mon, 29 Sep 2025 20:58:48 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1v3KxL-0043p2-H0 for pgsql-hackers@lists.postgresql.org; Mon, 29 Sep 2025 20:58:48 +0000 Received: from sss.pgh.pa.us ([68.162.161.243]) by makus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1v3KxJ-000Zvq-2m for pgsql-hackers@postgresql.org; Mon, 29 Sep 2025 20:58:47 +0000 Received: from sss1.sss.pgh.pa.us (localhost [127.0.0.1]) by sss.pgh.pa.us (8.15.2/8.15.2) with ESMTP id 58TKwb0U356958; Mon, 29 Sep 2025 16:58:37 -0400 From: Tom Lane To: David Christensen cc: Peter Eisentraut , Andrey Borodin , pgsql-hackers , "David G. Johnston" , Jelte Fennema-Nio Subject: Re: [PATCH] GROUP BY ALL In-reply-to: References: <4D2047B0-E8D8-472B-B7E8-61206B1E6AFA@yandex-team.ru> <4083063.1758902694@sss.pgh.pa.us> <4085064.1758903815@sss.pgh.pa.us> <167505.1758988990@sss.pgh.pa.us> <702762.1759011796@sss.pgh.pa.us> Comments: In-reply-to David Christensen message dated "Sun, 28 Sep 2025 15:34:28 -0500" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <356956.1759179517.1@sss.pgh.pa.us> Date: Mon, 29 Sep 2025 16:58:37 -0400 Message-ID: <356957.1759179517@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk David Christensen writes: >> Here is v7 with a stab at docs; fairly minimal at this point, but >> touching the two areas that are likely to need adjusting. I did some more word-smithing on the docs and pushed it. >> When >> adjusting the docs for sql-select, I noticed that the grammar also >> supports `GROUP BY ALL `, so I also added a test to >> ensure that this syntax is explicitly supported. +1, can't hurt. >> (It seems like it >> works as-is without further grammar adjustments, but I was a little >> worried when I first saw that fact... :D) Bison would have been vocal about it if you'd introduced any ambiguity. Still, I didn't feel like looking around to see if we already covered this syntax, and I agree it's close enough to being an issue to be worth covering. Thanks for the patch! regards, tom lane