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 1knFag-00007N-5w for pgsql-hackers@arkaria.postgresql.org; Thu, 10 Dec 2020 06:38:14 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1knFae-0005xD-Re for pgsql-hackers@arkaria.postgresql.org; Thu, 10 Dec 2020 06:38:12 +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 1knFae-0005x5-Gp for pgsql-hackers@lists.postgresql.org; Thu, 10 Dec 2020 06:38:12 +0000 Received: from mail.postgrespro.ru ([93.174.131.139]) by makus.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1knFaZ-00023V-Oo for pgsql-hackers@lists.postgresql.org; Thu, 10 Dec 2020 06:38:11 +0000 Received: from [192.168.28.94] (cyclops.postgrespro.ru [93.174.131.138]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client did not present a certificate) by mail.postgrespro.ru (Postfix) with ESMTPSA id F2D7D21C2A6A; Thu, 10 Dec 2020 09:38:04 +0300 (MSK) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=postgrespro.ru; s=mail; t=1607582285; bh=4b54SVwbceItq7WuOU9EQzgdLDH2oSkrapSw78mUeWE=; h=Subject:To:Cc:References:From:Date:In-Reply-To; b=VBvnJDa5IjnIjFzjGBItAH/V+S/GThNA+BkM6msAiOnCmGbJ52d7aYLmuwb3pYDaS CVjDNJlkrfOKytZJqTeRdFUdOG8yy34OO0JqMtj59LfEj0XYODwawqsLzbjTYGBWVX P1Wh/tTzf4fRxDorDt2ekB2f+fRdPbzn8RLhKG1s= Subject: Re: Asynchronous Append on postgres_fdw nodes. To: Etsuro Fujita , Kyotaro Horiguchi Cc: Justin Pryzby , "movead.li" , PostgreSQL Hackers References: <20201002.153925.2111528346612886434.horikyota.ntt@gmail.com> <20201005.132959.1424481454550541470.horikyota.ntt@gmail.com> From: "Andrey V. Lepikhov" Organization: Postgres Professional Message-ID: <4bdaf2f5-00b9-7e62-349d-ea3dbff7c36b@postgrespro.ru> Date: Thu, 10 Dec 2020 11:38:04 +0500 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.10.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk On 11/17/20 2:56 PM, Etsuro Fujita wrote: > On Mon, Oct 5, 2020 at 3:35 PM Etsuro Fujita wrote: > Comments welcome! The attached is still WIP and maybe I'm missing > something, though. I reviewed your patch and used it in my TPC-H benchmarks. It is still WIP. Will you improve this patch? I also want to say that, in my opinion, Horiguchi-san's version seems preferable: it is more structured, simple to understand, executor-native and allows to reduce FDW interface changes. This code really only needs one procedure - IsForeignPathAsyncCapable. -- regards, Andrey Lepikhov Postgres Professional