Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bGq95-0003oo-35 for pgsql-hackers@arkaria.postgresql.org; Sat, 25 Jun 2016 16:09:23 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1bGq94-0006dj-IH for pgsql-hackers@arkaria.postgresql.org; Sat, 25 Jun 2016 16:09:22 +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_2) (envelope-from ) id 1bGq7i-000595-44 for pgsql-hackers@postgresql.org; Sat, 25 Jun 2016 16:07:58 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1bGq7e-0001g2-K6 for pgsql-hackers@postgresql.org; Sat, 25 Jun 2016 16:07:57 +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 u5PG7oD5001474; Sat, 25 Jun 2016 12:07:50 -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: <1019.1466870211@sss.pgh.pa.us> References: <20160623173851.GA203183@alvherre.pgsql> <32396.1466704522@sss.pgh.pa.us> <1019.1466870211@sss.pgh.pa.us> Comments: In-reply-to Tom Lane message dated "Sat, 25 Jun 2016 11:56:51 -0400" Date: Sat, 25 Jun 2016 12:07:50 -0400 Message-ID: <1473.1466870870@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 I wrote: > 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? After a bit of thought, maybe AggDivision or AggSplit or something along those lines? 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