Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bGpxB-0003LU-QM for pgsql-hackers@arkaria.postgresql.org; Sat, 25 Jun 2016 15:57:05 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1bGpxA-0003Qc-O3 for pgsql-hackers@arkaria.postgresql.org; Sat, 25 Jun 2016 15:57:04 +0000 Received: from makus.postgresql.org ([2001:4800:1501:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1bGpx8-0003Pz-3r for pgsql-hackers@postgresql.org; Sat, 25 Jun 2016 15:57:02 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1bGpx0-0001Es-8T for pgsql-hackers@postgresql.org; Sat, 25 Jun 2016 15:57:00 +0000 Received: from sss1.sss.pgh.pa.us (localhost [127.0.0.1]) by sss.pgh.pa.us (8.14.4/8.14.4) with ESMTP id u5PFupnC001020; Sat, 25 Jun 2016 11:56:51 -0400 From: Tom Lane To: David Rowley cc: Alvaro Herrera , Robert Haas , "pgsql-hackers@postgresql.org" Subject: Re: Rethinking representation of partial-aggregate steps In-reply-to: References: <20160623173851.GA203183@alvherre.pgsql> <32396.1466704522@sss.pgh.pa.us> Comments: In-reply-to David Rowley message dated "Fri, 24 Jun 2016 13:53:54 +1200" Date: Sat, 25 Jun 2016 11:56:51 -0400 Message-ID: <1019.1466870211@sss.pgh.pa.us> X-Pg-Spam-Score: -3.3 (---) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-hackers Precedence: bulk Sender: pgsql-hackers-owner@postgresql.org David Rowley writes: > The attached implements this, with the exception that I didn't really > think AggPartialMode was the best name for the enum. I've named this > AggregateMode instead, as the aggregate is only partial in some cases. Hm. We already have an AggStrategy (for hashed vs. grouped aggregation) so adding AggregateMode beside it seems somewhere between confusing and content-free. And it's needlessly inconsistent with the spelling of the existing enum name. I'm not wedded to "AggPartialMode" but I think we need some name that's a bit more specific than "AggregateMode". Suggestions anyone? regards, tom lane -- Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-hackers