Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1wp6Ub-001Qhi-1P for pgsql-hackers@arkaria.postgresql.org; Wed, 29 Jul 2026 15:46:49 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.96) (envelope-from ) id 1wp6UZ-006zHa-0l for pgsql-hackers@arkaria.postgresql.org; Wed, 29 Jul 2026 15:46:47 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1wp6UY-006zGu-2u for pgsql-hackers@lists.postgresql.org; Wed, 29 Jul 2026 15:46:46 +0000 Received: from fout-a4-smtp.messagingengine.com ([103.168.172.147]) by makus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.98.2) (envelope-from ) id 1wp6UX-00000000vHM-0APd for pgsql-hackers@postgresql.org; Wed, 29 Jul 2026 15:46:46 +0000 Received: from phl-compute-05.internal (phl-compute-05.internal [10.202.2.45]) by mailfout.phl.internal (Postfix) with ESMTP id 69CB0EC00C3; Wed, 29 Jul 2026 11:46:43 -0400 (EDT) Received: from phl-frontend-04 ([10.202.2.163]) by phl-compute-05.internal (MEProxy); Wed, 29 Jul 2026 11:46:43 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kurilemu.de; h= cc:cc:content-transfer-encoding:content-type:content-type:date :date:from:from:in-reply-to:in-reply-to:message-id:mime-version :reply-to:subject:subject:to:to; s=fm1; t=1785340003; x= 1785426403; bh=/AvhmlsuaQDVnh5xdhxGdOl9EOuN4XYIRMZIfVZ2M64=; b=o QdfqY0YiWgMLE+ny3ASXOUpy6vqiR8svzEqH/8xm+DbZv5dOByRsmMqDog7tGht3 l2KwYxeFKLJ4fz8fncMlFNoFr9TezQxcsuYa3sJcnkE5QCSsRCTSCyS2U+EFQoKw YtCNBLuRb6o3LwLndNpRhLAjd4CQwLDfhVeDQkGvF8OUFY9B3/11bVjWJnHGAAWp nGlaaFaZDMxajp7K5m7D8GTIGgvumRsY6GX0Z3EPBZotUwAVtpKXOxjdTZsHjdw3 k2TX55doLpmzHuvPLMfmpZ/O8RNIRezDwpiNxeKiQS1e8Ww/nq9XGMmCE9zQcY1d psgzxc9WU3xs5CxiD1rUQ== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding :content-type:content-type:date:date:feedback-id:feedback-id :from:from:in-reply-to:in-reply-to:message-id:mime-version :reply-to:subject:subject:to:to:x-me-proxy:x-me-sender :x-me-sender:x-sasl-enc; s=fm2; t=1785340003; x=1785426403; bh=/ AvhmlsuaQDVnh5xdhxGdOl9EOuN4XYIRMZIfVZ2M64=; b=q9VP2kA6KjwJwwh8b OtXXQb1w/z3qFPeYZBlCNydUAK6itTPfcfxU1SYjbP/3qqMoItRHOfURIc9mltPx Nz9w1VeYfdw3gJKNhaUliYDMB8THBeBKsExjfZOIQ0EizYapc3AJ09/mUnYWzkyv +7hisY1FZf5wC7QMHC/4zXmarsqqG3UotU4HO2v8r2PMb1sYlDoaByEClZCU5DRM tPrj0fxE3KTiKJMT4WXbd7HuRcEiIL5v6HJ3TWAcDbr9w5/pB73YQaEj605ncpmD VECSoEEa4V8cpxAM1XxguISeXi7C4L4rkneuZQRI39AwzBym8al9US8Q5JxlFWFX FnpVg== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: dmFkZTGtI6/BJmU7xCSeCZbnsZJIFGA2f7X9LAnyL86e/TWMT6C49tF4cAfy16oGGIaeaC 7RoQMTbo/zjwGhGq0JlC0WmDGkuv1qOI8kAlYO5HuBXtaWRvAT0ReeSz59xN4q/IZzD/8u CD/MXjbzccLJszSvcbn2/F9dWIayM9sYlFWMbjGbA8NapqkfAb47bp2BS7IFYCNyJGKK8k xTe84OFjHXCVznhX2alHbkBJNceUR3XEGCyTiiTS2J3X8Dd8KGq/nW8gYCejxIm+Y4l8hB rYzbv6z0CPSHxVP7EL675xQgjPZGNKrsUeC1OuGNqBKDEgFPfRfwz6vIQbAeGmcw7Y26I9 fjZfN7QhiP1I/dflFojsSct2DbNW3KVy8/XCe+Gmyi/OiC7SzaKWApPsfTuh3fCmYBKZyp jIHG/7t/QwZHy15Z5hswcl4jwDG5h9f84SUXUWQ/OkxizDU/c0l/OUeUgNnIc5F8xfmh7X sLrtO5nsu6B0P1MhQ7JsZ9Ul3iqEDo4p+8eGBurxdP0Nl3AZEzl3gtZyiQ7F4eBnmgSsEi FIhWlxg58ESq9oMIaFRMyJ0uTLyJk/oCmdaqMGO7y4NLx6zmN0AIiA9wsMuui6T0erhUc5 n6SxP5bLuFzFrC8CVA7P6aurUCdlbm8pTkUMAVdnbG9wyoB77NE0n8EdhcvA X-ME-Proxy: Feedback-ID: ie3de48e3:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Wed, 29 Jul 2026 11:46:42 -0400 (EDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kurilemu.de; s=schmee; t=1785340000; bh=gKir7o2Putkn1SyJJxgGRnhsWTsqUgpZhgewibF2yJo=; h=Date:From:To:Cc:Subject:In-Reply-To:From; b=1lZ7JwmuPePKXgvkS/INiiCjHZC+dQxo7hySXJlC97dkuPIYLcm4fK/Uzf4Fvcqk8 pMvTnc9Mz0uWcrp2yDI7Oag/WO1zxC7GmfSY0NIK6TusbFLow5kI2XTkywCG1BwAHJ REv+8c9mt4aAO48FkSWp/c1H+PkelhhGPrPFvPG0ykInaYRmdJ568DGb5aCVEPOn4R IYJmKDhViDQ6oHaGADIBwzGMJkc18Y2+yU/vtHmi/EpU1Ui23li5vUWJg5Av/c6VNq kGC7LjLOnyIpb1eY8TWKdi0XSghJC/AHAfTOL6tbQj67uw2raVVBZt/VklRmhH7Lj1 jp9Tmq/UHsZiw== Received: by ida.kurilemu.internal (Postfix, from userid 1000) id F00A1B00075; Wed, 29 Jul 2026 17:46:40 +0200 (CEST) Date: Wed, 29 Jul 2026 17:46:40 +0200 From: =?utf-8?Q?=C3=81lvaro?= Herrera To: Marco Nenciarini Cc: Xuneng Zhou , Fujii Masao , pgsql-hackers@postgresql.org Subject: Re: BUG: Cascading standby fails to reconnect after falling back to archive recovery Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk On 2026-Apr-27, Marco Nenciarini wrote: > v7 patches attached. No code changes from v6, just rebased on > current master to remove minor offset, and the backpatch file is > renamed with a "nocfbot-" prefix so the commitfest bot picks up > only the master patch. I pushed this after some editorial tinkering. There were rather a lot of backpatching landmines here. One thing I didn't concern myself with, was ABI compatibility in the 19 branch. I made the patch identical to master, which means we add a new argument to walrcv_identify_system(). We don't have .abi-compliance-history yet, which means it's fine. -- Álvaro Herrera 48°01'N 7°57'E — https://www.EnterpriseDB.com/