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 1nMBAU-0007AJ-27 for pgsql-hackers@arkaria.postgresql.org; Mon, 21 Feb 2022 16:04:06 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1nMBAR-0004Sw-2l for pgsql-hackers@arkaria.postgresql.org; Mon, 21 Feb 2022 16:04:03 +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 1nMBAQ-0004Sm-Ph for pgsql-hackers@lists.postgresql.org; Mon, 21 Feb 2022 16:04:02 +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 1nMBAM-0000QJ-U8 for pgsql-hackers@lists.postgresql.org; Mon, 21 Feb 2022 16:04:01 +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 C65EC604BF; Tue, 22 Feb 2022 01:03:52 +0900 (JST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.5 at oss.nttdata.com Message-ID: <883589bb-077f-7d66-2406-5f67be0372a6@oss.nttdata.com> Date: Tue, 22 Feb 2022 01:03:51 +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: commit remote (sub)transactions in parallel during pre-commit Content-Language: en-US To: Etsuro Fujita Cc: PostgreSQL Hackers References: <65af8fb4-4c45-9cc3-c6ec-80f3ac488e07@oss.nttdata.com> <95066202-c7e6-e4be-05cc-bdceb45b68c7@oss.nttdata.com> <2d7c480a-63c8-a244-0f2a-361e5097764f@oss.nttdata.com> <3e57ebd7-b536-333e-c877-49a3ebb57079@oss.nttdata.com> <2a2519b5-0c1f-87c8-5461-a4d8be0728e0@oss.nttdata.com> From: Fujii Masao In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk On 2022/02/21 14:45, Etsuro Fujita wrote: > On Fri, Feb 18, 2022 at 1:46 AM Fujii Masao wrote: >> I reviewed 0001 patch. It looks good to me except the following minor things. If these are addressed, I think that the 001 patch can be marked as ready for committer. > > OK > >> + * Also determine to commit (sub)transactions opened on the remote server >> + * in parallel at (sub)transaction end. >> >> Like the comment "Determine whether to keep the connection ...", "determine to commit" should be "determine whether to commit"? > > Agreed. I’ll change it as such. Thanks! If that's updated, IMO it's ok to commit the 0001 patch. After the commit, I will review 0002 and 0003 patches. Regards, -- Fujii Masao Advanced Computing Technology Center Research and Development Headquarters NTT DATA CORPORATION