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 1v2BFV-0016Xp-OI for pgsql-hackers@arkaria.postgresql.org; Fri, 26 Sep 2025 16:24:45 +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 1v2BFT-003uy6-RZ for pgsql-hackers@arkaria.postgresql.org; Fri, 26 Sep 2025 16:24:44 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1v2BFT-003uxx-If for pgsql-hackers@lists.postgresql.org; Fri, 26 Sep 2025 16:24:44 +0000 Received: from sss.pgh.pa.us ([68.162.161.243]) by magus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1v2BFS-000Fqf-0Z for pgsql-hackers@postgresql.org; Fri, 26 Sep 2025 16:24:43 +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 58QGObwx4085183; Fri, 26 Sep 2025 12:24:37 -0400 From: Tom Lane To: David Christensen cc: Andrey Borodin , Peter Eisentraut , 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> Comments: In-reply-to David Christensen message dated "Fri, 26 Sep 2025 11:17:29 -0500" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <4085181.1758903877.1@sss.pgh.pa.us> Date: Fri, 26 Sep 2025 12:24:37 -0400 Message-ID: <4085182.1758903877@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk David Christensen writes: > Or contain_aggs_of_level(), assuming I can suss out how to get the > current level... :D Anyway, will mess with this for a bit. Current level is zero by definition ... regards, tom lane