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 1vJawQ-00CJUD-2h for pgsql-admin@arkaria.postgresql.org; Thu, 13 Nov 2025 17:17:01 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.96) (envelope-from ) id 1vJawO-002qJG-0V for pgsql-admin@arkaria.postgresql.org; Thu, 13 Nov 2025 17:17:00 +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 1vJawN-002qJ6-0O for pgsql-admin@lists.postgresql.org; Thu, 13 Nov 2025 17:16:59 +0000 Received: from fout-b1-smtp.messagingengine.com ([202.12.124.144]) by makus.postgresql.org with smtp (Exim 4.96) (envelope-from ) id 1vJawL-006xm4-0A for pgsql-admin@lists.postgresql.org; Thu, 13 Nov 2025 17:16:58 +0000 Received: from phl-compute-01.internal (phl-compute-01.internal [10.202.2.41]) by mailfout.stl.internal (Postfix) with ESMTP id E86DF1D0012D; Thu, 13 Nov 2025 12:16:55 -0500 (EST) Received: from phl-mailfrontend-01 ([10.202.2.162]) by phl-compute-01.internal (MEProxy); Thu, 13 Nov 2025 12:16:56 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= quadratum-braccas.com; h=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=fm2; t=1763054215; x=1763140615; bh=ZfifNDoKtH aTptL91mH4XiOEyDuzrHnQkONJRurzssY=; b=aJGtjenkZHwb4AJHA8wQfTiKgb qYtJHsPAeAr/GC15jOftSBC6quu5paD3GrZV3lAnmjI0U6ZlU8mPC5d/14/gDChR Ks30nyd8/RcJP+qsKE2fgluf1FzLNrTxXmtydZnbq1r8Cy8jAmV1YlO0i7CqWAv/ 3z5LUm+H0/7T56PzId2Hl+V/Czhsw9bZWvkInsq1iDdJlgpSeWAgJTax1q+DUL/7 tIDR++IVAdz0OeyRhDwILiBNvzUjkugtHHhIHyIzTgaiTNBq9JbhOF6Vk1pgDK75 Ka87DrvJBvw7+xDrFMVdJhcEJxA6hBTPmd85HjbshY769O4Bi1Z0y0TGkfxw== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=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=1763054215; x=1763140615; bh=Z fifNDoKtHaTptL91mH4XiOEyDuzrHnQkONJRurzssY=; b=16swD5VupYt/qxz+9 KBQg6kEmK7zuufyM8//SmvowaUO27+PA+Q95LIdtvDjdcoXG0SDUY1a1oJ/RyU2c tROfq/uSuUE8smQDlbF7CMaNedXJZsqpTdofrCldq3Ed/wGEltZZ5fUJ913Z3RXd 1r2g01dwXLYGu90BBLNknC5S9IuefdJmoMtQLy+U1++I7nYaomZmrNprmLZHdeEa gzPJ6kN5BqI0wxGS+/oAr4tQpRgjdbI+LzElsNJpIVaLl7KbNvlAFs291XbJCaE3 KoiQ6ZVjG2n6cyoeIpRfU170A8pe5qC/oXLs5VCYIpNlroy2GwDL1RIgwuEeOKtX 1l6Dw== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeeffedrtdeggddvtdejheduucetufdoteggodetrf dotffvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfurfetoffkrfgpnffqhgenuceu rghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmnecujf gurhepkfffgggfuffvfhfhjggtgfesthejredttddvjeenucfhrhhomhepufgsohgsuceo shgsohgssehquhgrughrrghtuhhmqdgsrhgrtggtrghsrdgtohhmqeenucggtffrrghtth gvrhhnpefhjeekhefhfeduveekieegudevjeejuedvtdeuheeukeehudekfeegheeflefg ffenucffohhmrghinhepphhoshhtghhrrdgvshenucevlhhushhtvghrufhiiigvpedtne curfgrrhgrmhepmhgrihhlfhhrohhmpehssghosgesqhhurggurhgrthhumhdqsghrrggt tggrshdrtghomhdpnhgspghrtghpthhtohepfedpmhhouggvpehsmhhtphhouhhtpdhrtg hpthhtoheplhgruhhrvghniidrrghlsggvsegthigsvghrthgvtgdrrghtpdhrtghpthht ohepphhgshhqlhdqrggumhhinheslhhishhtshdrphhoshhtghhrvghsqhhlrdhorhhgpd hrtghpthhtohepshgsohgssehquhgrughrrghtuhhmqdgsrhgrtggtrghsrdgtohhm X-ME-Proxy: Feedback-ID: i374947ac:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Thu, 13 Nov 2025 12:16:54 -0500 (EST) Message-ID: <1801edda-893d-4b71-8694-6d775762df8e@quadratum-braccas.com> Date: Thu, 13 Nov 2025 10:16:54 -0700 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: vacuumdb produces ERROR: cannot freeze committed xmax To: Laurenz Albe , pgsql-admin@lists.postgresql.org References: <1ac45482-cf26-4d6c-b551-ce9c9a5cbeec@quadratum-braccas.com> Content-Language: en-US From: Sbob In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk On 11/13/25 1:59 AM, Laurenz Albe wrote: > On Wed, 2025-11-12 at 12:10 -0700, Sbob wrote: >> running a vacuumdb is throwing this error on a PostgreSQL v15 db: >> >> >> vacuumdb: error: processing of database "prod1" failed: ERROR: cannot >> freeze committed xmax 1406773176 > That is data corruption: VACUUM encountered a tuple with a HEAP_XMAX_INVALID > hint (which indicates the tuple is visible), but the deleting transaction > is committed. > > Perhaps your commit log got corrupted. > > Is that on the same system as you other report that indicates a corrupted database? > (https://postgr.es/m/0a1745be-c54d-43b9-a90f-71e4c721c17c%40quadratum-braccas.com) Yes, we did a restore of the tables that seemed to be corrupted, any advice on determining the cause of the corruption? > > Perhaps it is time to restore a good backup. > > Yours, > Laurenz Albe