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 1sefWn-00ASkr-HA for pgsql-hackers@arkaria.postgresql.org; Thu, 15 Aug 2024 18:48:53 +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 1sefWm-000gAC-6x for pgsql-hackers@arkaria.postgresql.org; Thu, 15 Aug 2024 18:48:52 +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 1sefWl-000gA4-Qv for pgsql-hackers@lists.postgresql.org; Thu, 15 Aug 2024 18:48:51 +0000 Received: from momjian.us ([72.94.173.45]) by makus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1sefWi-004twk-Rg for pgsql-hackers@postgresql.org; Thu, 15 Aug 2024 18:48:50 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=momjian.us; s=2024011501; h=In-Reply-To:Content-Type:MIME-Version:References:Message-ID: Subject:Cc:To:From:Date:Sender:Reply-To:Content-Transfer-Encoding:Content-ID: Content-Description; bh=AOni9PT7PtJjUl2wBbU/QvoCG3fJ6bg3sTqAMQvQ6HE=; b=cDuOH 0w3GzU+vRWQTuhJcjEw2Nkl8GkAYS+MFyjstdriRyl34xl4WBNbtAxseBOiFID+1asUCtxLvfHD52 FYjKNU8QZpUaJ4kAn/4JBeHfqETiJwMXtyjfqLeF0QybgUZ7e0WjGeBSCUuSP40ssMZ4MWgnl/syC kZTqMqX4qe35nLwe/pbGEhccsVZycfu/BPKN+RLpZMSzXFwBrBTyQrLCh90qiJf4ds14H4yXTVRAQ gqp8CMWdpMIG9H1CTIL4e6Z/E/Fk8GZOXeuMf9uFiwkj8aoIlfEloKEBeCUT4an0KZm9HIFOrfB9I qYQDWewzmDRsbmQW4Kc0sqdT8iYGg==; Received: from bruce by momjian.us with local (Exim 4.96) (envelope-from ) id 1sefWc-00ExH1-2h; Thu, 15 Aug 2024 14:48:42 -0400 Date: Thu, 15 Aug 2024 14:48:42 -0400 From: Bruce Momjian To: "Fujii.Yuki@df.MitsubishiElectric.co.jp" Cc: Jelte Fennema-Nio , PostgreSQL-development , Robert Haas , Tom Lane , Stephen Frost , Andres Freund , Tomas Vondra , Julien Rouhaud , Daniel Gustafsson , vignesh C , Alexander Pyhalov Subject: Re: Partial aggregates pushdown Message-ID: References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk On Sun, Jul 7, 2024 at 09:52:27PM +0000, Fujii.Yuki@df.MitsubishiElectric.co.jp wrote: > Hi Bruce. > > > From: Bruce Momjian > > Is there a reason the documentation is no longer a part of this patch? > > Can I help you keep it current? > > Here are the reasons: > Reason1. The approach differs significantly from the previous patch that included documentation, the below. > https://www.postgresql.org/message-id/attachment/152086/0001-Partial-aggregates-push-down-v34.patch > Reason2. I have two options for transmitting the state value and I'm evaluating which one is optimal. > One is what I presented you in PGConf.dev2024. The other is Jelte's one. > He listened to my talk at the conference and gave me some useful comments on hackers. I'm very grateful that. > Reason3. The implementation and test have been not finished yet. > Regarding Reason 2, I provided my conclusion in the previous message. > > My plan for advancing the patch involves the following steps: > Step1. Decide the approach on transmitting state value. > Step2. Implement code (including comments) and tests to support a subset of aggregate functions. > Specifically, I plan to support avg, sum, and other aggregate functions like min and max which don't need export/import functions. > Step3. Add documentations. > > To clarify my approach, should I proceed with Step 3 before Step2? > I would appreciate your feedback on this. Thanks, I now understand why the docs were remove, and I agree. I will post about the options now in a new email. -- Bruce Momjian https://momjian.us EDB https://enterprisedb.com Only you can decide what is important to you.