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 1vmfz4-00FBLm-2u for pgsql-hackers@arkaria.postgresql.org; Sun, 01 Feb 2026 22:31:59 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.96) (envelope-from ) id 1vmfz0-00Aaa8-24 for pgsql-hackers@arkaria.postgresql.org; Sun, 01 Feb 2026 22:31:55 +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 1vmfz0-00AaZz-0D for pgsql-hackers@lists.postgresql.org; Sun, 01 Feb 2026 22:31:55 +0000 Received: from fout-a6-smtp.messagingengine.com ([103.168.172.149]) by makus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.98.2) (envelope-from ) id 1vmfyy-000000005qn-3pBC for pgsql-hackers@lists.postgresql.org; Sun, 01 Feb 2026 22:31:53 +0000 Received: from phl-compute-04.internal (phl-compute-04.internal [10.202.2.44]) by mailfout.phl.internal (Postfix) with ESMTP id 6F56EEC00DE; Sun, 1 Feb 2026 17:31:51 -0500 (EST) Received: from phl-frontend-03 ([10.202.2.162]) by phl-compute-04.internal (MEProxy); Sun, 01 Feb 2026 17:31:51 -0500 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=1769985111; x=1770071511; bh=7 4gwQB1g+IGPeXFpXFMk5I/CNhQt8z6SNIxW3MzJscc=; b=aTp7h+rbsleJNpADa H3ih8yLQiNgA1qkcoBzUHysJlYmXo8BddAToy72fKtlEueyXGOrFxxOdULKFDQ7b UE5gFP8IEmCRzkf6DNV0YMu1U0cqTjciCi9HX8IGzdvaFSGa4ide3pLtX0OIyRKD NMnTXVlOZ7Vmd3nTwC+B1HMFQHledUcMPPAcyXI+tt+xM1XDMPQcsqUvQPrnkKbN ZddvFMxKA6yFl87XPbBtBcIisVc81Bqp8+Bp6IpanrprZ9rcprAQzu1qHHOCN8zb 0V1HroV3qgIS6Dmlou1T1QLQFgZAcHhNw+GmYVB4YwX+UMYobwyhtwlCk01/3yX4 bU/Tw== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeefgedrtddtgddujeeitddtucetufdoteggodetrf dotffvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfurfetoffkrfgpnffqhgenuceu rghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmnecujf gurhepfffhvfevuffkgggtugfgjgesthekredttddtjeenucfhrhhomheptehlvhgrrhho ucfjvghrrhgvrhgruceorghlvhhhvghrrhgvsegrlhhvhhdrnhhoqdhiphdrohhrgheqne cuggftrfgrthhtvghrnhepvdektdffudfftdffffehfffhjeejhffgieeuueekjeekfffg udffhfduffffueevnecuffhomhgrihhnpegvnhhtvghrphhrihhsvggusgdrtghomhenuc evlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpegrlhhvhhgv rhhrvgesrghlvhhhrdhnohdqihhprdhorhhgpdhnsggprhgtphhtthhopeegpdhmohguvg epshhmthhpohhuthdprhgtphhtthhopegrhhestgihsggvrhhtvggtrdgrthdprhgtphht thhopehmihhhrghilhhnihhkrghlrgihvghusehgmhgrihhlrdgtohhmpdhrtghpthhtoh epphhgshhqlhdqhhgrtghkvghrsheslhhishhtshdrphhoshhtghhrvghsqhhlrdhorhhg pdhrtghpthhtoheprhhosgesgiiiihhllhgrrdhnvght X-ME-Proxy: Feedback-ID: ia2694551:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Sun, 1 Feb 2026 17:31:50 -0500 (EST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=alvh.no-ip.org; s=schmee; t=1769985108; bh=3qU0wjoRjPogCBzzcbZZp1rNFxYKX2ZqY+o0E77oJcA=; h=Date:From:To:Cc:Subject:In-Reply-To:From; b=QHWgy3O1iF6SpxeMpaTe/ONpe1Dmco8NOTUUQ4rUaLJtmUXNsBf5Yop0m1NU+fYUS QkXOUUBj3TFpKKJ76lutCqxDt8oO7ZUHddeQ5ApZdsC+y8zomCGl0oQJMSV8LPEqHi yFFRQu490avLoC6D6rwolEWsxtHTeuPpy9TSGr//9kPY0vlZUOYQ+8cuRRs0sXcZzb bYbIfGvA1c89X7BAy5UCjSrmii6Xd7RgYYkqON3Rl8/tpK4EHLuidgS1h1snokIRVX bBBN2p5K8C39gf9pyOJ+1cM0p6LnvLAA3/sRFi9R30yispYUmDhpdSjARWngt6fMhK WCkdJDlJL2YPA== Received: by schmee.kurilemu.internal (Postfix, from userid 1000) id 5FCC674; Sun, 01 Feb 2026 23:31:48 +0100 (CET) Date: Sun, 1 Feb 2026 23:31:48 +0100 From: Alvaro Herrera To: Mihail Nikalayeu Cc: Antonin Houska , Pg Hackers , Robert Treat Subject: Re: Adding REPACK [concurrently] Message-ID: <202602012202.qo2k6ip7hoer@alvherre.pgsql> 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-Feb-01, Mihail Nikalayeu wrote: > Also, I am still not sure if MVCC-safe implementation is worth > its complexity compared with "relcheckxmin"approach [0]. I'm not sure it's acceptable to cause other sessions to raise errors if they query the table being repacked (or a table repacked recently). That sounds extremely unpleasant. Imagine a long-running transactions that runs enormous queries for many hours or even days, being killed near the end because some DBA decided to run REPACK on a table. -- Álvaro Herrera PostgreSQL Developer — https://www.EnterpriseDB.com/