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 1vl9rg-007tBW-2P for pgsql-hackers@arkaria.postgresql.org; Wed, 28 Jan 2026 18:02:05 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.96) (envelope-from ) id 1vl9re-002o0s-1i for pgsql-hackers@arkaria.postgresql.org; Wed, 28 Jan 2026 18:02:02 +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 1vl9rd-002o0k-3B for pgsql-hackers@lists.postgresql.org; Wed, 28 Jan 2026 18:02:02 +0000 Received: from fout-b8-smtp.messagingengine.com ([202.12.124.151]) by magus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.98.2) (envelope-from ) id 1vl9rb-00000000uor-3aXa for pgsql-hackers@lists.postgresql.org; Wed, 28 Jan 2026 18:02:02 +0000 Received: from phl-compute-02.internal (phl-compute-02.internal [10.202.2.42]) by mailfout.stl.internal (Postfix) with ESMTP id 983541D0003D; Wed, 28 Jan 2026 13:01:58 -0500 (EST) Received: from phl-imap-14 ([10.202.2.87]) by phl-compute-02.internal (MEProxy); Wed, 28 Jan 2026 13:01:58 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=burd.me; h=cc:cc :content-transfer-encoding:content-type:content-type:date:date :from:from:in-reply-to:in-reply-to:message-id:mime-version :references:reply-to:subject:subject:to:to; s=fm3; t=1769623318; x=1769709718; bh=h9th6ToFnvWvEdFXN8SRF4eSQnLDN0X4coJBPBd/Uso=; b= qcDb5HncdfObM4TeDlv9NHBdsyCwV4LkppxJyagAQy3sZmZAzJrtfaDU2nh5N/ir AOqMHkiZHeApSQBVwPOBb+sPeN+pC39nK0JLPFZ4Hb8nCbPAvRf0Wik1uZekr3+f gD6bEu4kbbS8eFThW581Dtxy3CquqmECxdID1wgA5mk+73DH7GYEBMsQ+f5wp30q RXTNFRRFtldQpWkpHCJ5vAsCfOV8XGkjIn3o6+xHFT06EHqMoZtpi4PvgEH7QNl8 mlcYhBqraSITUOZ/U1IlIwx4r5qLMkAVY4B5bc9JwPJamw+SkhoZIBHkWAHn0tZA 9RxWeRCGOeDgOV5AxWUh7A== 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 :references:reply-to:subject:subject:to:to:x-me-proxy :x-me-sender:x-me-sender:x-sasl-enc; s=fm3; t=1769623318; x= 1769709718; bh=h9th6ToFnvWvEdFXN8SRF4eSQnLDN0X4coJBPBd/Uso=; b=f a11EByeb0dUjLHMrLojyoQQUTjdbE3YUdvmpCfJBNppCXtxHnNFqh2QE8no7YXNU rsjgNuJHA7DHMm2Uqj64IwtVxi7VFFfr/32bflJ/N7i6IZcFxFoMg32QWT1LK3U9 fvmycIVNJ7IFe12+/yrtipnT0gKVv6GoDFN/6BZG/IYAkAI3PG6Nwa5+le3ldg4s QhWa55gicI7/YJVVPm93yW2n9dFZtehO2n8/VEU/MI068tCRMKMCMbPUhOne4MvD 6mAimUjCWxd+owm8WuVLqw+ToNc3BT/eFfh+g77fKFSqc7RPbT7qJAelp1X2qfi0 2Ak0OzlJ/6w45o1Gve6xw== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeefgedrtddtgdduieefleekucetufdoteggodetrf dotffvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfurfetoffkrfgpnffqhgenuceu rghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmnecujf gurhepofggfffhvfevkfgjfhfutgfgsehtjeertdertddtnecuhfhrohhmpedfifhrvghg uceuuhhrugdfuceoghhrvghgsegsuhhrugdrmhgvqeenucggtffrrghtthgvrhhnpedvue fhffdtvdevueffteehheefleevtedvfedtueefffeijeefudelveeftdffudenucevlhhu shhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpehgrhgvghessghurh gurdhmvgdpnhgspghrtghpthhtohepiedpmhhouggvpehsmhhtphhouhhtpdhrtghpthht oheprghnughrvghssegrnhgrrhgriigvlhdruggvpdhrtghpthhtohepuggsrhihrghnrd hgrhgvvghnsehgmhgrihhlrdgtohhmpdhrtghpthhtoheprhhosggvrhhtmhhhrggrshes ghhmrghilhdrtghomhdprhgtphhtthhopehthhhomhgrshdrmhhunhhrohesghhmrghilh drtghomhdprhgtphhtthhopehpghhsqhhlqdhhrggtkhgvrhhssehlihhsthhsrdhpohhs thhgrhgvshhqlhdrohhrghdprhgtphhtthhopegrkhgrphhilhgrsehpohhsthhgrhgvsh hqlhdrohhrgh X-ME-Proxy: Feedback-ID: i675e48f3:Fastmail Received: by mailuser.phl.internal (Postfix, from userid 501) id 2694AC40075; Wed, 28 Jan 2026 13:01:58 -0500 (EST) X-Mailer: MessagingEngine.com Webmail Interface MIME-Version: 1.0 X-ThreadId: A7jm1L7V_-wo Date: Wed, 28 Jan 2026 13:01:23 -0500 From: "Greg Burd" To: "Andres Freund" , "Robert Haas" Cc: "Thomas Munro" , "Amit Kapila" , "PostgreSQL Hackers" , "Bryan Green" Message-Id: <85eb570f-ae23-4199-8f50-1772ccf63266@app.fastmail.com> In-Reply-To: References: Subject: Re: pgsql: Prevent invalidation of newly synced replication slots. Content-Type: text/plain Content-Transfer-Encoding: 7bit List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk On Tue, Jan 27, 2026, at 1:17 PM, Andres Freund wrote: > Hi, > > On 2026-01-27 12:42:51 -0500, Robert Haas wrote: >> I tried sticking a pg_sleep(30) in just before starting the standby >> node, and that didn't help, so it doesn't seem like it's a race >> condition. > > Interesting. > > It could be worth trying to run the test in isolation, without all the other > concurrent tests. > > Greg, have you tried to repro it interactively? Nope, not yet. I'm working on my ailing animals now and updated unicorn to include injection points. -greg > Bryan, you seem to have become the resident windows expert... > > >> 2026-01-27 17:19:25.337 GMT startup[2488] LOG: starting backup >> recovery with redo LSN 0/2A000028, checkpoint LSN 0/2A000080, on >> timeline ID 1 >> The system cannot find the file specified. >> 2026-01-27 17:19:25.352 GMT startup[2488] DEBUG: could not restore >> file "00000001000000000000002A" from archive: child process exited >> with exit code 1 > > I think that must be a message from "copy" (which we seem to be using for > restore_command on windows). > > I don't know why the standby is created with has_restoring => 1. But it > shouldn't be related to the issue, I think? > > Greetings, > > Andres Freund