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 1nM1fD-00089S-3f for pgsql-hackers@arkaria.postgresql.org; Mon, 21 Feb 2022 05:55:11 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1nM1fC-0005yB-28 for pgsql-hackers@arkaria.postgresql.org; Mon, 21 Feb 2022 05:55:10 +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 1nM1fB-0005xw-PB for pgsql-hackers@lists.postgresql.org; Mon, 21 Feb 2022 05:55:09 +0000 Received: from mail-ej1-x634.google.com ([2a00:1450:4864:20::634]) by magus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1nM1f5-0003fy-IT for pgsql-hackers@lists.postgresql.org; Mon, 21 Feb 2022 05:55:09 +0000 Received: by mail-ej1-x634.google.com with SMTP id vz16so30400581ejb.0 for ; Sun, 20 Feb 2022 21:55:03 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc:content-transfer-encoding; bh=B19PJ4sb/VI9KpyCF/8zyihFU9SUDpM6LH37+DPJRkc=; b=VC2qTvCJ0OgSf+AjD8l6rAd2yO/HttwKK9siO4GRrNK+g/Jfl7h+SF9cUOkI5Zpatt sJp6hgg4cwm7rKlB7EqKogY3foQAv7gub4ObPj0d6rn22Xw0XnK5RnoeqlxPLzdSMVN9 EUSM82eQ0hSPxesCXQeqXKkA4voOdLsIeCNdv/Lcfbw5QyQ5zhEj46Py0OyEELxT468A uOw23B2pfUdSM1ajtGuWDks2ZZRXJuxQpTFxvuMF7oCBsRjRlCGuKNDUvCji2CbE/Stk YNkzjtga8i8UH2mWhgnmxuXuS1bRCQj9Dv70CNfTZLggWRruU/Zf8pUkxaaVigC8Kvtj 82zg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc:content-transfer-encoding; bh=B19PJ4sb/VI9KpyCF/8zyihFU9SUDpM6LH37+DPJRkc=; b=4H9IyCVoY13tzLZqP5vuolN7OLR8vHEQY/tvQKvUjQysYL3PwIFqTTtmYnm8wLhDHl hc0v/z/LJ4BUtkPjWv7NxmnOl6UrK8nx70VM3fjuAHM4dzgUpLXrqnavIBQCRRBs0tXS 1REils5l6RAc3Hrgw5J7Y8HdQZjPP8qNzeN1Pn5SGl3UyTWT2/npysOo7C+bRtQYQF/u Z57y6CewVd0CJ5iXAoJHSA7tvskiOcAd/d5B6VlVkRqV2DydWCTPVBwOkPgUtFfSUCnI P5dBQjLruWfLuLZcSQji+n8899rNyLyQS3qgeyxX2eXS3m2CBU+g/BNIs/NUVkZN4Gdy YnUw== X-Gm-Message-State: AOAM533lzamt2aoaz2AIxvPZfjznNlj3tKF7yUlwnsh7Ey7J/XRTc+Va wahAyOIhTdXVAGa9r1gE71L9IKomet46wKsVMQs= X-Google-Smtp-Source: ABdhPJyvOMOCpaoiBv/EwqFWrjGkikt7pSXZujSnUamE8qR6HK3b30XD9KVuch6J5EAC5ERwPxeh1q797LEIgvEx0EM= X-Received: by 2002:a17:906:82cf:b0:6d0:3d6:8f27 with SMTP id a15-20020a17090682cf00b006d003d68f27mr14212941ejy.236.1645422901679; Sun, 20 Feb 2022 21:55:01 -0800 (PST) MIME-Version: 1.0 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> <66d99132-5946-ba74-ffa6-620eb50b7a8f@highgo.ca> In-Reply-To: <66d99132-5946-ba74-ffa6-620eb50b7a8f@highgo.ca> From: Etsuro Fujita Date: Mon, 21 Feb 2022 14:55:07 +0900 Message-ID: Subject: Re: postgres_fdw: commit remote (sub)transactions in parallel during pre-commit To: David Zhang Cc: Fujii Masao , PostgreSQL Hackers Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk On Sat, Feb 19, 2022 at 6:55 AM David Zhang wrote: > Tried to apply the patches to master branch, no warning found and > regression test passed. Thanks for testing! > Now, we have many places (5) calling the same function with a constant > number 30000. Is this a good time to consider redefine this number a > macro somewhere? Yeah, I think that is a good idea. I=E2=80=99ll do so in the next version = of the parallel-abort patch (#0003) if no objections. Best regards, Etsuro Fujita