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 1wXMip-003DYH-1W for pgsql-hackers@arkaria.postgresql.org; Wed, 10 Jun 2026 17:28:11 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.96) (envelope-from ) id 1wXMin-00CVBc-01 for pgsql-hackers@arkaria.postgresql.org; Wed, 10 Jun 2026 17:28:09 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1wXMim-00CVBU-26 for pgsql-hackers@lists.postgresql.org; Wed, 10 Jun 2026 17:28:08 +0000 Received: from mail-wm1-x334.google.com ([2a00:1450:4864:20::334]) by magus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.98.2) (envelope-from ) id 1wXMik-00000002NA6-0Fso for pgsql-hackers@postgresql.org; Wed, 10 Jun 2026 17:28:08 +0000 Received: by mail-wm1-x334.google.com with SMTP id 5b1f17b1804b1-490b2b037d2so61809185e9.3 for ; Wed, 10 Jun 2026 10:28:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20251104; t=1781112483; x=1781717283; darn=postgresql.org; h=in-reply-to:content-transfer-encoding:content-disposition :mime-version:references:message-id:subject:cc:to:from:date:from:to :cc:subject:date:message-id:reply-to; bh=ZQNZ17fZxx8u36LVGLt0yLVgviMUprYtJxCVzm1KLA8=; b=ksisOhNyUB2S+fyAFG3n9eiLx4YcldKj2mFZuswok8hJxK3lgGAMLeNAVKQhr5JqNG VxoxZ1aucUyrHVl9mhq/JB050mFOQUgxx2prdGP0ExAQf95O2iCDFVnveRuVxUufpZgW u9yuthpc5I5qdd4dZzXhUTyxiYrYdDpvmNMJcgtiPvXw/Yy/9ud7YU1x//6q2v9Axgb2 dngP4ej+i+83wnGBwKKBgVQinaqZeg10mSC2XxH8fgbHJv4+xHxrYia68p8SZxoBg4lm cLPeFmNxGJe4fBvn++U5VikzesLPcdlx6DBWIH2IdBIgsrikjoXvj7O0oCeuXPMs9VUp q9sA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1781112483; x=1781717283; h=in-reply-to:content-transfer-encoding:content-disposition :mime-version:references:message-id:subject:cc:to:from:date:x-gm-gg :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=ZQNZ17fZxx8u36LVGLt0yLVgviMUprYtJxCVzm1KLA8=; b=Sba16JLU0ponfC2gtrY76iLE3T8AAylpJn1NW7S6vM0pD1QuGXQgn06xnchq7Yfpfd qW9YBk4RPvIgGQMeOOK/bdTQZmnVL5uByLpFVlr7iDnr8YL95bjXs70Y06gWYsWbCSdQ BwkEhWrVv+HIiWD+g4JXiagcPUmkXKNGsKNhpEmy1MtHWjqeBo9nom2b5M6hyTUTesqP WECM1Sk6aW0ORo6pJoscYL4w+tFiefu3dcoU6Lou4dcMLuNYd2dJJBN3HLJLhfKTxz+M zQfG0zWl79oiqwgdsaTQ7YWPc2rPVt2Zk5J25I1S0uF4NSdlQLIfQOSlmUn7sBl3RbOA miJQ== X-Forwarded-Encrypted: i=1; AFNElJ/UiFQIC460u2EbkNNwXtjW8n3eQp7QVwEL7bJwZKpygOHvnTbwLTeZwRppKKeZ0E0/pVKwd/R+JTDluOzG@postgresql.org X-Gm-Message-State: AOJu0YwsHExY3FA8lg0dfBatJm+p94IBtwzUwsoWDb0DB6Bu/5lD634i QpHnT0TY5aflU1YV6KhXUEOLrcHebBSCaPUIplmAyR5rWuXOfHeYAi+U X-Gm-Gg: Acq92OG9KlhHiiG23ZSvM8P/6O9soHG6CqdApVSa4qS1M2CV31/t1BaXsV7ctwTFZrv j+a8yT8lV1/rz3AG7REcIzpqDY8WnNziQ00rb1/zunXqaLPpHYlCqqc0zzulnRmnE+EXSENopPL oYhwbMOJkoIuKOpd0q6RkirqhV7Hh0QLHivLc8SaFI+ijBu2oXlRBD1tL0xbpwXp4sekrrEFSa1 sWBBfhmy13Fb0N90Yfu62g/WfDZnzwbbnnIWXVZUvSRZUw3HTCIIv9PNYS3jHya5vQ132qe3OZw ajzdx98rykL1w9qx/VCZyZYm0Jwj8G5z1aaWA63w4FV2sxdzDQIn3ac7+4XagBJAfmUMK1Pll8J qIeeFmCi4BCWD1wb//ce6tdOFOZaGz1pbVvcgf6yICQWIryOhjDx+C422zPwxPQt90dNMlestpy +BtvjTjcaygRNsrFqghpHT2xHR7G31whyaLky1aszyW0ObAD6Apa5FFufFYbATxfq+1fPpu4Fo5 1l7JIzpSi+sFxH88CKBpQ== X-Received: by 2002:a05:600c:4e09:b0:490:e190:3b50 with SMTP id 5b1f17b1804b1-490e1903e37mr22158125e9.9.1781112482709; Wed, 10 Jun 2026 10:28:02 -0700 (PDT) Received: from bdtpg (ec2-15-237-197-144.eu-west-3.compute.amazonaws.com. [15.237.197.144]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-490dca8fcfbsm52820835e9.1.2026.06.10.10.28.02 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 10 Jun 2026 10:28:02 -0700 (PDT) Date: Wed, 10 Jun 2026 17:28:00 +0000 From: Bertrand Drouvot To: Xuneng Zhou Cc: "Hayato Kuroda (Fujitsu)" , Alexander Lakhin , pgsql-hackers Subject: Re: t/035_standby_logical_decoding.pl might fail on attempt to read wrong timeline Message-ID: References: <7daef094-abf3-4672-bc23-3df4763b16a3@gmail.com> 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 Hi, On Wed, Jun 10, 2026 at 04:36:14PM +0800, Xuneng Zhou wrote: > On Tue, Jun 9, 2026 at 7:01 PM Bertrand Drouvot > > 0002 does that by starting the new walsender and doing the decoding while the > > startup is paused > > 0004 does that by ensuring the pre-connected session triggers the decoding while > > the startup is paused > > The > essential thing is just to ensure that the startup remains paused > until decoding output is observed. Right, thanks for confirming. That's exactly what v2 is doing. Regards, -- Bertrand Drouvot PostgreSQL Contributors Team RDS Open Source Databases Amazon Web Services: https://aws.amazon.com