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 1nmnAt-0001Jy-Re for pgsql-hackers@arkaria.postgresql.org; Fri, 06 May 2022 01:54:31 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1nmnAs-0004iY-9F for pgsql-hackers@arkaria.postgresql.org; Fri, 06 May 2022 01:54:30 +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 1nmnAr-0004iP-UT for pgsql-hackers@lists.postgresql.org; Fri, 06 May 2022 01:54:29 +0000 Received: from mail-pf1-x42a.google.com ([2607:f8b0:4864:20::42a]) by magus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1nmnAo-0002L2-Sz for pgsql-hackers@lists.postgresql.org; Fri, 06 May 2022 01:54:29 +0000 Received: by mail-pf1-x42a.google.com with SMTP id c14so5087809pfn.2 for ; Thu, 05 May 2022 18:54:26 -0700 (PDT) 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; bh=cYUWYMBSAzslpFGxwPsN3D/ZWFtK/1KwQUGSZIriVcY=; b=Bz1IMw7hr5ZpkfOgo7IXd/IbExjxK4jwifrDMyzbyTcMaVxjRCB4PUaN9Z4wIUKZTm D+AWF1S6noGC+74oHWj1vW8Lv20k03L++5WHXF+mYa4q7fb790c2/6zL8YzeJuBKvIJe PVMdNXE3mKNBTJwYoejpXsa6Dcq9xr+rIU/5mX7e/SoxdG+E3yix820OISKXBgynAeDN ZhhVDy/fZ1Np3vBLs7id3n3L1Ev1W/u7IWvnylB8UoONbyHO8DOzMz74zCGwWB6RfbuS Lt48nGoBxMVgPN/9zHR8cJCjYLJKgl3PoEAvKGIYowDu1v/n8+8Rq5S3yWSzx3ANZ0fw 7E5A== 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; bh=cYUWYMBSAzslpFGxwPsN3D/ZWFtK/1KwQUGSZIriVcY=; b=RhJWdoGPvsjIXGx91gYMDw/O1nRa44TEe7gwdzp9xT3jheEUfsPBw+jv1xEQ9p0pEa mFVi7D205Gr+deS4Z/csqrgHJJgnvqleOe9m8XnQTX0sSOOXGnTtee1BlNP5gIAeduU8 J/a9m+NtMhwApOCqrWQLx3JZBJ4edM88A98FFoXoHHqFH793Gk+ewxnZrWKHxYT8TGOw iA6SNO8ztVHzTzZL8I7UTFZGNY4eJKAuNmGupaziLfZ+hSykoXFz901xCDCx26LfQyGt biRBDzZldoj0WwER6+Nvf7f62AQoTt1YejOBIs7FrUMzYfv0c2U7LJmuacZGqMB8DnjO 5lNA== X-Gm-Message-State: AOAM530UQdOYLxUGA1eBrcpejcdzUaKgBgue9Nm2p0zduRw3miCrrEsF DcyLNLMCrNgAOd+BNeyaZIaYBiK/4kojcxznUdE= X-Google-Smtp-Source: ABdhPJwiJGgDiD4OsaqmfUBLNMi8e/c95LsUzESe0pm5GC63abY0yB9hHQzRgrgNAYl2BhLjPoNfjtkq6PsUAaXFcLY= X-Received: by 2002:a05:6a00:1a4d:b0:50d:5921:1a8f with SMTP id h13-20020a056a001a4d00b0050d59211a8fmr1243632pfv.64.1651802064277; Thu, 05 May 2022 18:54:24 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: Masahiko Sawada Date: Fri, 6 May 2022 10:53:47 +0900 Message-ID: Subject: Re: Logical replication timeout problem To: Amit Kapila Cc: "houzj.fnst@fujitsu.com" , "wangw.fnst@fujitsu.com" , Euler Taveira , "kuroda.hayato@fujitsu.com" , Peter Smith , Fabrice Chapuis , Simon Riggs , Petr Jelinek , "tanghy.fnst@fujitsu.com" , PostgreSQL Hackers , Ajin Cherian Content-Type: text/plain; charset="UTF-8" List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk On Wed, May 4, 2022 at 7:18 PM Amit Kapila wrote: > > On Mon, May 2, 2022 at 8:07 AM Masahiko Sawada wrote: > > > > On Mon, May 2, 2022 at 11:32 AM Amit Kapila wrote: > > > > > > > > > So, shall we go back to the previous approach of using a separate > > > function update_replication_progress? > > > > Ok, agreed. > > > > Attached, please find the updated patch accordingly. Currently, I have > prepared it for HEAD, if you don't see any problem with this, we can > prepare the back-branch patches based on this. Thank you for updating the patch. Looks good to me. Regards, -- Masahiko Sawada EDB: https://www.enterprisedb.com/