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 1nMJAq-0001Va-Qf for pgsql-hackers@arkaria.postgresql.org; Tue, 22 Feb 2022 00:37:00 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1nMJAp-0000BZ-MN for pgsql-hackers@arkaria.postgresql.org; Tue, 22 Feb 2022 00:36:59 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1nMJAp-0000BQ-DS for pgsql-hackers@lists.postgresql.org; Tue, 22 Feb 2022 00:36:59 +0000 Received: from oss.nttdata.com ([49.212.34.109]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1nMJAm-0004Yx-BX for pgsql-hackers@lists.postgresql.org; Tue, 22 Feb 2022 00:36:59 +0000 Received: from [192.168.11.10] (p2010165-ipbf2302funabasi.chiba.ocn.ne.jp [122.25.95.165]) by oss.nttdata.com (Postfix) with ESMTPSA id DAB7260792; Tue, 22 Feb 2022 09:36:49 +0900 (JST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.5 at oss.nttdata.com Message-ID: Date: Tue, 22 Feb 2022 09:36:49 +0900 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:91.0) Gecko/20100101 Thunderbird/91.6.0 Subject: Re: postgres_fdw: using TABLESAMPLE to collect remote sample Content-Language: en-US To: Tomas Vondra , Robert Haas , Tom Lane Cc: PostgreSQL Hackers References: <151e835f-55d6-ddbc-b5b4-07ee606aba44@enterprisedb.com> <2080021.1644601183@sss.pgh.pa.us> <2082308.1644602761@sss.pgh.pa.us> <60c4dc7c-82e8-ab04-a938-d7b7c5ee75f0@enterprisedb.com> <84afe85f-2aa0-5aef-fa4a-59759afc03fb@enterprisedb.com> From: Fujii Masao In-Reply-To: <84afe85f-2aa0-5aef-fa4a-59759afc03fb@enterprisedb.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk On 2022/02/18 22:28, Tomas Vondra wrote: > Hi, > > here's a slightly updated version of the patch series. Thanks for updating the patches! > The 0001 part > adds tracking of server_version_num, so that it's possible to enable > other features depending on it. Like configure_remote_session() does, can't we use PQserverVersion() instead of implementing new function GetServerVersion()? Regards, -- Fujii Masao Advanced Computing Technology Center Research and Development Headquarters NTT DATA CORPORATION