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 1wKHIP-000nZ0-2Z for pgsql-hackers@arkaria.postgresql.org; Tue, 05 May 2026 15:02: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 1wKHIN-00CcB0-2a for pgsql-hackers@arkaria.postgresql.org; Tue, 05 May 2026 15:02:47 +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 1wKHIN-00CcAs-1b for pgsql-hackers@lists.postgresql.org; Tue, 05 May 2026 15:02:47 +0000 Received: from fhigh-a2-smtp.messagingengine.com ([103.168.172.153]) by magus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.98.2) (envelope-from ) id 1wKHIK-00000000esr-3FIi for pgsql-hackers@lists.postgresql.org; Tue, 05 May 2026 15:02:47 +0000 Received: from phl-compute-01.internal (phl-compute-01.internal [10.202.2.41]) by mailfhigh.phl.internal (Postfix) with ESMTP id 8DAA914000B0; Tue, 5 May 2026 11:02:42 -0400 (EDT) Received: from phl-frontend-03 ([10.202.2.162]) by phl-compute-01.internal (MEProxy); Tue, 05 May 2026 11:02:42 -0400 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=fm3; t=1777993362; x=1778079762; bh=c SAI60CMQh5WbovX61WhdCSCHH4zmgLaqvlZR94olqU=; b=mV7WZUuJCzVJHZgzh vmd6Ner69eZtQpB9jX58aFj8YeXS5xoABAB5CoyD3sAlyO63WeJ0ucKotQ9U+I00 Mdc+jye8bCOqEGnpn0hwhtoVhd0ce3WddBdlFnuS0B49BZFomnzvFmY3aiGnV4yS XHmQm/FYpPJQX2vD6mLqZcX+fK9bU0E16QqZ1dmaNoo+5LwnEEa1q0vBX2IALhSw Y9RozxJYiQjvuKUHQEd1cN2vyfh2DWHhZyJaBP+54qYXbPxArU90M+w+UEtI7l+y ErXwviMOtl6SyYpaVKzjkk3/eGbl9PVuFUQIoNqeDEOWil7pgCpm9fXnDrhuzH77 xPXpA== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeefhedrtddtgddutddvtddvucetufdoteggodetrf dotffvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfurfetoffkrfgpnffqhgenuceu rghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmnecujf gurhepfffhvfevuffkgggtugfgjgesthekredttddtjeenucfhrhhomheptehlvhgrrhho ucfjvghrrhgvrhgruceorghlvhhhvghrrhgvsegrlhhvhhdrnhhoqdhiphdrohhrgheqne cuggftrfgrthhtvghrnhepvdektdffudfftdffffehfffhjeejhffgieeuueekjeekfffg udffhfduffffueevnecuffhomhgrihhnpegvnhhtvghrphhrihhsvggusgdrtghomhenuc evlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpegrlhhvhhgv rhhrvgesrghlvhhhrdhnohdqihhprdhorhhgpdhnsggprhgtphhtthhopeekpdhmohguvg epshhmthhpohhuthdprhgtphhtthhopegrnhgurhgvshesrghnrghrrgiivghlrdguvgdp rhgtphhtthhopegrhhestgihsggvrhhtvggtrdgrthdprhgtphhtthhopegrmhhithdrkh grphhilhgrudeisehgmhgrihhlrdgtohhmpdhrtghpthhtohepsghovghkvgifuhhrmhdo phhoshhtghhrvghssehgmhgrihhlrdgtohhmpdhrtghpthhtohepmhhihhgrihhlnhhikh grlhgrhigvuhesghhmrghilhdrtghomhdprhgtphhtthhopehsrhhinhgrthhhvddufeef sehgmhgrihhlrdgtohhmpdhrtghpthhtohepphhgshhqlhdqhhgrtghkvghrsheslhhish htshdrphhoshhtghhrvghsqhhlrdhorhhgpdhrtghpthhtoheprhhosgesgiiiihhllhgr rdhnvght X-ME-Proxy: Feedback-ID: ia2694551:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Tue, 5 May 2026 11:02:41 -0400 (EDT) Received: by ida.kurilemu.internal (Postfix, from userid 1000) id 03B62B03124; Tue, 05 May 2026 17:02:39 +0200 (CEST) Date: Tue, 5 May 2026 17:02:39 +0200 From: Alvaro Herrera To: Antonin Houska Cc: Mihail Nikalayeu , Amit Kapila , Andres Freund , Srinath Reddy Sadipiralla , Matthias van de Meent , Pg Hackers , Robert Treat Subject: Re: Adding REPACK [concurrently] Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <27869.1777985266@localhost> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk On 2026-May-05, Antonin Houska wrote: > However, I failed to notice that COMMIT record of > a transaction listed in the xl_running_xacts WAL record is not guaranteed to > follow the xl_running_xacts record in WAL. In other words, even if > xl_running_xacts is created before a COMMIT record of the contained > transaction, it may end up at higher LSN in WAL. So the cleanup I relied on > might not take place. That's pretty bad news. > I've got no good idea how to fix that. Not sure I'm able to pursue the > "database-specific snapshots" feature now. It appears that the only reasonable course of action at this point is to revert 0d3dba38c777. -- Álvaro Herrera Breisgau, Deutschland — https://www.EnterpriseDB.com/