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.98.2) (envelope-from ) id 1xMLEZ-00000001yfG-2piX for pgsql-hackers@arkaria.postgresql.org; Thu, 29 Oct 2026 08:11:40 +0000 Received: from localhost ([127.0.0.1]:40026 helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.98.2) (envelope-from ) id 1xMLEY-00000003JV1-0SUi for pgsql-hackers@arkaria.postgresql.org; Thu, 29 Oct 2026 08:11:38 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]:54168) by malur.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.98.2) (envelope-from ) id 1xMLEX-00000003JU6-0q8k for pgsql-hackers@lists.postgresql.org; Thu, 29 Oct 2026 08:11:37 +0000 Received: from fout-a3-smtp.messagingengine.com ([103.168.172.146]) by magus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.98.2) (envelope-from ) id 1xMLET-00000001YWH-3Yio for pgsql-hackers@postgresql.org; Thu, 29 Oct 2026 08:11:36 +0000 Received: from phl-compute-01.internal (phl-compute-01.internal [10.202.2.41]) by mailfout.phl.internal (Postfix) with ESMTP id 27F69EC010E for ; Thu, 29 Oct 2026 04:11:31 -0400 (EDT) Received: from phl-frontend-03 ([10.202.2.162]) by phl-compute-01.internal (MEProxy); Thu, 29 Oct 2026 04:11:31 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=paquier.xyz; h= cc:cc: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=1793261491; x=1793347891; bh=KVtIaGOvOx VLo4zdP3eEGOjsRY6XMLBh1/G48ozWMBI=; b=Udz2YhE4vYrKJByf7iRQJ4oinP tjD+ayD6G0eEU1Qktyqh2QRcOWXQI7GYS9Xo5tImwlYY23yW9RgE2u0eklmRisb/ /cAI7GjwSfbhwQ7r0FBGqeuJKfrTGa5iVUMMmTho2SGU1pEDUjoAOqOs6wY7gEGX ILsk50FoZfYz5NudAoPfWN2n8Kxu4Cb+yWMPS9RSWKw6kQGQ+xsVpWQX7Ur+RqIa OKHaFA47pmbi3zrSRJFan1RzIN2MPM+7tJoki0zaa4swSx69juc+y+rGZNJvmCZt RZd7DWtHcg0Mv7z8/onPGZffIdrnvvnFRszEVaxB7Au1XtnTYS8yrolx3suQ== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc: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=fm2; t= 1793261491; x=1793347891; bh=KVtIaGOvOxVLo4zdP3eEGOjsRY6XMLBh1/G 48ozWMBI=; b=fltNemxXTlFHvbM15jES0DhYe+1Y7XQbly7B87J1zdatUVJyEKE lx/FoEpSxLlh6TfnCNLP+z6UEGpSYDkXuQIwCwOK2f3ryAA/uSB5q6wWd/pMyn2s AxawKNvdsyXvbl4Bx/7PVdr4u7ul5GUSKGB5jdffsJ2UehzSKzbQGP8GAe3Yz1kf np5iCSPitaOcYxeQi8SoMOeKBvwJCe0JysCiUoU2DnWIxJIwsyQQwajq0nKgm/YR 5TguCke6HF1ZD9WP5RjvUqsh1M44KHZ89sfFPz+Op6z6P09aAh+OYLXhMjHg0V03 abunitWeSOcl6zh60z+Qi7gwj+quY+LsT6A== X-DKIM2-Info: draft=ietf-dkim-dkim2-spec-08; repo=github.com/dkim2wg/interop; date=2026-10-28; sw=lmtpprox; action=sign d=paquier.xyz a=rsa-sha256; DKIM2-Signature: i=1; m=1; t=1793261491; d=paquier.xyz; mf=PG1pY2hhZWxAcGFxdWllci54eXo+; rt=PHBnc3FsLWhhY2tlcnNAcG9zdGdyZXNxbC5vcmc+; s=fm2:rsa-sha256:jAN30+HgD+1re7yiHUWy2loOhkQVrlHy5w5KUb4yfXKKAlw LOXiWoLA0qVof2Hpfv2LVdJPPHqUfL+SeAZpocYXREqbnCZCkaerSDWjwqPDyThg RM/IUoh9HfOBiDAaeKwBF7FWxGiWxNtDXSbnowuan6lHB6YiO4ho17Oh+uyiDylb V5vQLoG4rK+IeLEK19J25ioSmER9xNc8dyFPEtlH3JOEMc9+ALqgB507RF77eybp s85zsl3LtTzaPMhUSuz128i2XixPvrXyw9CzDGOn++wIdpZaVfQpk6F3KnOk/bld iFeyMFsJVy04Z6Dux7uW8nNusyel+6PI32K8jwg==; X-DKIM2-Info: draft=ietf-dkim-dkim2-spec-08; repo=github.com/dkim2wg/interop; date=2026-10-28; sw=lmtpprox; action=mi-m=1; hc=12; hn=cc,content-disposition,content-type,date,feedback-id,from, in-reply-to,message-id,mime-version,references,subject,to; Message-Instance: m=1; h=sha256:Aevb5Btgbwvp7NP7uHappvwhg7cvoEbkkKk8mG7YtSE=:idHgLLZCtfPkFegu99EPARS+caSaT8DGS8QCVVmG0ZU=; X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: dmFkZTGuMS3fb1MqBJNo9brWHfrMwTf3908HJ1ZVXSCWPQDmOoS8SLkH+GGhbEl/uv0mr0 1oBbqJEd8pHV735ndeC3H/Tfe/CCFWewG04T8RGjHREcTa0VII1P4LsmA5vcW4/RdzmZkK i+zdZyMONLVzL3o4XAGyQGSjEV6ebMxQbUFU7TDdKvpOGBtrRw2IWuPYkNjrSF7CubHPLN 2xvXXv0KPsj+QE+G8jhccyJQYs+v+ZnVDvtrxAA62ezICljB7wpVyx4jpSf00EaYE0KIQe h0SKhzK1/GmSz+Bq6qWF86tOcvu278kzVMDFaYlnrZLf1H9uzb0kA+zubCKh+9wTY3gFHs hUaQjXRqYgpI69B25GqF2S2DJ+pA4YthNY5CaLGPU6IQUg/aSt/Bn18fzS93+gEzosDL0L SZU0um/BO1bmoQ3Im2nAu/ONHynQLKf5tP6HlQU28JimfYuGTNQmm6dDmxHrRaQuUhR9LA 7AGcYNSPVLEd4cBcMsTBSUNyYi/dKdrHPRKXMZFXHdvTIJ31t0JKAnxM5zHXNn/k4Xserz iOndw/1BSj1E41OZD6Yn3Fsg3iMLn9dOLrmoSkVtm6ynkZHDIHhWGxM2bKCABXFjJqunmI XDBk259ogz+8JSs3UXRFyEGJplEiar0Ca8i5JcVo+I+1XXoyJV7RKUUQZGkA X-ME-Proxy: Feedback-ID: i0fe9450f:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Thu, 29 Oct 2026 04:11:29 -0400 (EDT) Date: Thu, 29 Oct 2026 17:11:26 +0900 From: Michael Paquier To: Robert Haas Cc: "pgsql-hackers@postgresql.org" Subject: Re: pgsql: Set HEAP_XMAX_INVALID for tuples updated by aborted subtransacti Message-ID: References: MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="4Af76DYZx+rPCFzQ" Content-Disposition: inline In-Reply-To: List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk --4Af76DYZx+rPCFzQ Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Wed, Oct 28, 2026 at 03:32:44PM -0400, Robert Haas wrote: > Uggh. I think that this is the right fix given that > rewrite_heap_tuple() is documented to rely on hint bits being set for > correctness, but it seems to me to be pretty questionable that we rely > on hint bits being set for correctness. It's not going to be obvious > to someone modifying HeapTupleSatisfiesVacuum() or > HeapTupleSatisfiesVacuumHorizon() that rewrite_heap_tuple() critically > depends on that, and even if we added a comment about that, somebody > reading that comment might justifiably complain about our decision to > create such a dependency. As far as I know this is implied since 7b78474da356. So it's been around for some time... It's really hard to miss, as the other thread has proved. -- Michael --4Af76DYZx+rPCFzQ Content-Type: application/pgp-signature; name=signature.asc -----BEGIN PGP SIGNATURE----- iQIzBAEBCgAdFiEEG72nH6vTowiyblFKnvQgOdbyQH0FAmri/64ACgkQnvQgOdby QH3bWQ//U3vrfeJQ5aEatZUsT2RcErpmXKKBNEcf45nbHkS7pUkAaV8jEI5oCw0E oJt4+WLVbxCipvFfrzODFtZlceucfApcIb4VYtGNAO1uEb1/L7ZNQX1g0eCZOE5+ o7Hl70HrduqjMu9qTxuR60RT+yPKGpf3SgeBZVCXFZ4PdLlmdwt9NHWujhPhtELW ITGn3bIcplpCuAiV3qa/hIu/ZC1Mloi1/C+rZ9fmd7G3PtmmdUQnAFF5bZDeIOZu hfrDfP5bBGXq87ik3xUpKOXQ9BeuxYS+bjBGAAP3z3Sg1pBmTkKfKEZUGJhWspNz I7Vt4ljIoex0QUs9Eq5x7X8kI09ktIg9B7pf/TsR0kdYBEPscqBS54L2H6R0rA12 tm1oJGIpcwm/IDLQNZWy3h+w4NPsEUPRACnV01FVC2F/w4YJPzPOVKvJphBxLH3O +5zma8agr22PqOM0aUFojdgWvXalQiXcIGOUHXz4uM/QTdx1G0IAGRYF1Un7s2Pn QJBG2PdIlstNR2aD1RhpYUlKh2NrKtlOcWWiv0YWQs+GuJspKNCUdNPxn6jbytzQ ZJ649ddht+XVtDzTxaZZvt6h9jHbTymy1+bC3iOSKMKUnICUm3HeO9xWuq0Mno9z MdPWAi8YGY6chSP2ob+++ISvNP7yUqH1IZOWg7F787s1+mD1Pr0= =dZF6 -----END PGP SIGNATURE----- --4Af76DYZx+rPCFzQ--