Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1qCIev-0001Y1-FL for pgsql-hackers@arkaria.postgresql.org; Thu, 22 Jun 2023 11:39:29 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1qCIet-0003yc-0i for pgsql-hackers@arkaria.postgresql.org; Thu, 22 Jun 2023 11:39:27 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1qCIes-0003yQ-My for pgsql-hackers@lists.postgresql.org; Thu, 22 Jun 2023 11:39:26 +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 1qCIel-003bxn-Hi for pgsql-hackers@postgresql.org; Thu, 22 Jun 2023 11:39:25 +0000 Received: from bruce by momjian.us with local (Exim 4.94.2) (envelope-from ) id 1qCIeh-006Xei-0K; Thu, 22 Jun 2023 07:39:15 -0400 Date: Thu, 22 Jun 2023 07:39:14 -0400 From: Bruce Momjian To: "Fujii.Yuki@df.MitsubishiElectric.co.jp" Cc: Alexander Pyhalov , PostgreSQL-development , Andres Freund , Tom Lane , Tomas Vondra , Julien Rouhaud , Daniel Gustafsson , Ilya Gladyshev Subject: Re: Partial aggregates pushdown Message-ID: References: <8ffedecae0d21a3cd93805baf1dcc0de@postgrespro.ru> 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 Thu, Jun 22, 2023 at 05:23:33AM +0000, Fujii.Yuki@df.MitsubishiElectric.co.jp wrote: > Approach1-3: > I will add a postgres_fdw option "check_partial_aggregate_support". > This option is false, default. > Only if this option is true, postgres_fdw connect to the remote server and get the version of the remote server. > And if the version of the remote server is less than PG17, then partial aggregate push down to the remote server is disable. Great! -- Bruce Momjian https://momjian.us EDB https://enterprisedb.com Only you can decide what is important to you.