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.94.2) (envelope-from ) id 1tdnNh-009X2U-Ad for pgsql-hackers@arkaria.postgresql.org; Fri, 31 Jan 2025 09:32:09 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.94.2) (envelope-from ) id 1tdnNe-00Gy0M-Ls for pgsql-hackers@arkaria.postgresql.org; Fri, 31 Jan 2025 09:32:06 +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.94.2) (envelope-from ) id 1tdnNe-00Gy0C-A1 for pgsql-hackers@lists.postgresql.org; Fri, 31 Jan 2025 09:32:06 +0000 Received: from fhigh-b2-smtp.messagingengine.com ([202.12.124.153]) by makus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1tdnNb-002RI7-2v for pgsql-hackers@postgresql.org; Fri, 31 Jan 2025 09:32:05 +0000 Received: from phl-compute-09.internal (phl-compute-09.phl.internal [10.202.2.49]) by mailfhigh.stl.internal (Postfix) with ESMTP id 443D925401E2; Fri, 31 Jan 2025 04:32:03 -0500 (EST) Received: from phl-mailfrontend-02 ([10.202.2.163]) by phl-compute-09.internal (MEProxy); Fri, 31 Jan 2025 04:32:03 -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=1738315923; x=1738402323; bh=Z kqeDRMjF3QTEVkpBWql7U5CoRHc3WhDzZLNZfjRVwc=; b=uhwNJptcR81ZvPmts YjbAvQwWBuY2GaTAP0OR7GCuN4W9x+W5w0O1GNOB/+4UMc3rTXotojFrYGjnkNZf JNRu5ALq299wCe/KrtMsaAzQ77gargHEbk9oQQzQ6ALmGBKjBDPMYY9gZP6YP7QL 4cFUL5vtq4AgkVMrU8Uv08f9iZmA2HHaVx7N+d91tYpZW/S3XgQE08gy0q+03IBD efZ7diKlkmHXtj3k5TD7B3WyzGorJjZPLur4S+dWuTsNnjEaL8WaFq10zs8OHHVI 77ExSoyUJXSiqRdgb8fBmEYy4SYJFyX7KW2TKSp9v7b+Enck593v0vkVvd1a2JSV eAtfw== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeefvddrtddtgdekgeduucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdggtfgfnhhsuhgsshgtrhhisggvpdfu rfetoffkrfgpnffqhgenuceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnh htshculddquddttddmnecujfgurhepfffhvfevuffkgggtugfgjgesthekredttddtjeen ucfhrhhomheptehlvhgrrhhoucfjvghrrhgvrhgruceorghlvhhhvghrrhgvsegrlhhvhh drnhhoqdhiphdrohhrgheqnecuggftrfgrthhtvghrnhepvdektdffudfftdffffehfffh jeejhffgieeuueekjeekfffgudffhfduffffueevnecuffhomhgrihhnpegvnhhtvghrph hrihhsvggusgdrtghomhenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgr ihhlfhhrohhmpegrlhhvhhgvrhhrvgesrghlvhhhrdhnohdqihhprdhorhhgpdhnsggprh gtphhtthhopeejpdhmohguvgepshhmthhpohhuthdprhgtphhtthhopegrhhestgihsggv rhhtvggtrdgrthdprhgtphhtthhopehprghvvghlrdhsthgvhhhulhgvsehgmhgrihhlrd gtohhmpdhrtghpthhtoheprhgvshhhkhgvkhhirhhilhhlsehgmhgrihhlrdgtohhmpdhr tghpthhtohepiihhjhifphhkuhesghhmrghilhdrtghomhdprhgtphhtthhopehmsggrnh gtkhesghhmgidrnhgvthdprhgtphhtthhopehmihgthhgrvghlsehprghquhhivghrrdig hiiipdhrtghpthhtohepphhgshhqlhdqhhgrtghkvghrshesphhoshhtghhrvghsqhhlrd horhhg X-ME-Proxy: Feedback-ID: ia2694551:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Fri, 31 Jan 2025 04:32:02 -0500 (EST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=alvh.no-ip.org; s=schmee; t=1738315920; bh=alI56ijIrKXkRSyWwhxw3Nl0VfNjYUBFdxOdeotFGcw=; h=Date:From:To:Cc:Subject:In-Reply-To:From; b=bqUV3ICkWh2bE6UsfEaaIqhFjUsxZbkRxiOHseJXdj6l0z98GNGvFnK7ano7+ok7C w876yOil4cFLJiJS1JBLU6sgjQjrRHuHNgFHZjEOc2gXb7v52IgGBaZx/4O3edZ/VN 8Q3Q5aPQMmq4jCXcP/HJcXkxu13s+jKg2cGMJcGHjl6qA3QNwQzNI/LNlRlkuMeTlY RHRPhchQUtEKdpp1Fy04JdhxbKR3G5zeJHeOSaNDH5EGqBNp6+FQq54XPsE/sbQDUU lgn2AAmMSZT6vLB1vmn5EC4yl6woDYddRy+A8M3xRUQ+2Gwd7JBlpnRNL514guFr0D 2vnMefokVnCxA== Received: by schmee.alvh.no-ip.org (Postfix, from userid 1000) id 260C58C; Fri, 31 Jan 2025 10:32:00 +0100 (CET) Date: Fri, 31 Jan 2025 10:32:00 +0100 From: Alvaro Herrera To: Antonin Houska Cc: Michael Banck , Junwang Zhao , Kirill Reshke , Pavel Stehule , Michael Paquier , PostgreSQL Hackers Subject: Re: why there is not VACUUM FULL CONCURRENTLY? Message-ID: <202501310932.ugw3k5c4orgv@alvherre.pgsql> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <10749.1738304870@antos> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk On 2025-Jan-31, Antonin Houska wrote: > I assume the patch should mark CLUSTER deprecated rather than removing it > immediately. Yeah, we should certainly not make any statements fail that work today. Same goes for VACUUM FULL. > I also agree that tables not being REPACKed should be treated as not being > logically decoded, i.e. the logical decoding specific information should not > be written to WAL for them. Neither time nor energy should be wasted :-) Cool. Something that Robert Haas just mentioned to me is handling of row locks: if concurrent transactions are keeping rows in the original table locked (especially SELECT FOR KEY SHARE, since that's not considered by logical decoding at present and it would be possible to break foreign keys if we just do nothing), them we need these to be "transferred" to the new table somehow. -- Álvaro Herrera PostgreSQL Developer — https://www.EnterpriseDB.com/ "¿Qué importan los años? Lo que realmente importa es comprobar que a fin de cuentas la mejor edad de la vida es estar vivo" (Mafalda)