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 1qwDB4-00AL1U-9F for pgsql-hackers@arkaria.postgresql.org; Fri, 27 Oct 2023 03:06:26 +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 1qwDB2-009Gvu-Q1 for pgsql-hackers@arkaria.postgresql.org; Fri, 27 Oct 2023 03:06:24 +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 1qwDB2-009Gvm-GP for pgsql-hackers@lists.postgresql.org; Fri, 27 Oct 2023 03:06:24 +0000 Received: from momjian.us ([72.94.173.45]) by magus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1qwDAz-0031Wm-FA for pgsql-hackers@postgresql.org; Fri, 27 Oct 2023 03:06:23 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=momjian.us; s=2023062407; 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=2VhG6YcsnInvua0dRVj5fSeeyfTl5FvzRBNc04tsAs4=; b=ndxcc Hb5jUxkW1V+EUXeLjDEEcoAM5LHLgbYkIe0cdGhajL/d4Bob+jjG82nNtN/GE2xDCRQ7dnO9PTpE1 drmB/XrYShg6nVaC/VvLdTBI4S88GY3zQwSzddj+Z2z11jDVEJLjLW73AiRFVjPDpdJJi/MNhZcEa Qdt5vkeOG2dTIuioB9m3GLl8WyVon1AtoqbH+ksN8q271r5MrOMQ1bIfrBE6ZBSavWuL/mVb9k8wA 88YfymeaX1agCUPYJoTtGSi8og5sAhGBwfcjZeGkp2b+qinAUx56AnqDmKGa9FvUyiTvlgGJ2RCBR ozJz4qjwPiX2yhwv3h6kCFlEVmUGg==; Received: from bruce by momjian.us with local (Exim 4.96) (envelope-from ) id 1qwDAv-001jSY-3C; Thu, 26 Oct 2023 23:06:17 -0400 Date: Thu, 26 Oct 2023 23:06:17 -0400 From: Bruce Momjian To: "Fujii.Yuki@df.MitsubishiElectric.co.jp" Cc: PostgreSQL-development , "Finnerty, Jim" , Andres Freund , Tom Lane , Tomas Vondra , Julien Rouhaud , Daniel Gustafsson , 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 Fri, Oct 27, 2023 at 02:44:42AM +0000, Fujii.Yuki@df.MitsubishiElectric.co.jp wrote: > Hi Momjian. > > Thank you for your improvement. > As a matter of detail, I think that the areas marked below are erroneous. > > -- > + Pushdown causes aggregate function cals to send partial aggregate > ^ > + function calls to the remote server. If the partial aggregate > + function doesn't doesn't exist on the remote server, it causes > ^^^^^^^ > -- Agreed. Do you want to fix that on your vesion? I don't have any more improvements to make. > > What else needs to be done before committers start to review > > this? > There are no others. May I make a new version of v31 with your > suggested improvements for the committer's review? Yes, please. I think the updated docs will help people understand how the patch works. -- Bruce Momjian https://momjian.us EDB https://enterprisedb.com Only you can decide what is important to you.