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 1wRtlp-002n0D-2C for pgsql-hackers@arkaria.postgresql.org; Tue, 26 May 2026 15:32:41 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.96) (envelope-from ) id 1wRtko-004nsj-1n for pgsql-hackers@arkaria.postgresql.org; Tue, 26 May 2026 15:31:39 +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 1wRtko-004nsa-0e for pgsql-hackers@lists.postgresql.org; Tue, 26 May 2026 15:31:39 +0000 Received: from fhigh-a1-smtp.messagingengine.com ([103.168.172.152]) by makus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.98.2) (envelope-from ) id 1wRtkn-00000000s9S-1vo4 for pgsql-hackers@lists.postgresql.org; Tue, 26 May 2026 15:31:38 +0000 Received: from phl-compute-08.internal (phl-compute-08.internal [10.202.2.48]) by mailfhigh.phl.internal (Postfix) with ESMTP id 4177A1400065; Tue, 26 May 2026 11:31:36 -0400 (EDT) Received: from phl-frontend-03 ([10.202.2.162]) by phl-compute-08.internal (MEProxy); Tue, 26 May 2026 11:31:36 -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=1779809496; x=1779895896; bh=5 B08+jT0az9+T8Dmv/ovomUXbqzwt28XmCUTC7ZULO8=; b=Jsng3wpGvM77vVS7c YCFWw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694551:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Tue, 26 May 2026 11:31:35 -0400 (EDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=alvh.no-ip.org; s=schmee; t=1779809493; bh=kXyIXN/hBY4ds5R+SNtz+toaugvWSxcQFGTiLUhV8ns=; h=Date:From:To:Cc:Subject:In-Reply-To:From; b=fBKWDpEow8Vh0b/4jO2/HUyIMVu4eENnliEksAYIjfm5mC/BAnbWRnKpT/SZGpWr9 1Gch6FS2C+b2Epw6Cts37kfgtZE6CHzto9SzUncS7qhFrSujvvq71vEaLgWxDrqH5+ d0C9/sPCxe0HQMxDK51+Tg4fc3B/qWxzOr1jYcV4xWe+byEdQE0M08QevBT8B7ZSld uoZiqwUdsnnyqlAYBt7UoYdiu768i7EIt3nkEPTXkJQx5TizbSc9FQDknOO6SXjgr/ Qoqzy8j8EqPREI31p0AkuL8I96BFxmhcocFVD6dKKPnQOx1ksskg+VlvBu04/6Mlif ixqaF0lLnGB0g== Received: by ida.kurilemu.internal (Postfix, from userid 1000) id F0571B0430D; Tue, 26 May 2026 08:31:33 -0700 (PDT) Date: Tue, 26 May 2026 17:31:33 +0200 From: Alvaro Herrera To: "Zhijie Hou (Fujitsu)" Cc: Antonin Houska , Amit Kapila , "Hayato Kuroda (Fujitsu)" , Srinath Reddy Sadipiralla , Mihail Nikalayeu , 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: List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk On 2026-May-25, Zhijie Hou (Fujitsu) wrote: > After listening to the REPACK talk at pgconf.dev this year, I understand that > WAL accumulation during REPACK CONCURRENTLY is not intended behavior. I think we > can consider fixing this in the current release. Attached is the rebased > patch, with comments adjusted based on Chao Li's comments. You're right, this is a thinko. I'll look at your patch hoping to get it pushed shortly. I wonder if we should add a TAP test to verify that WAL files are actually removed? Sounds a bit excessive TBH, but maybe it isn't really. -- Álvaro Herrera 48°01'N 7°57'E — https://www.EnterpriseDB.com/ "I think my standards have lowered enough that now I think 'good design' is when the page doesn't irritate the living f*ck out of me." (JWZ)