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 1w5SUx-003Gum-2F for pgsql-hackers@arkaria.postgresql.org; Wed, 25 Mar 2026 17:58:31 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.96) (envelope-from ) id 1w5SUw-00Fput-0Z for pgsql-hackers@arkaria.postgresql.org; Wed, 25 Mar 2026 17:58:30 +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 1w5SUv-00Fpul-28 for pgsql-hackers@lists.postgresql.org; Wed, 25 Mar 2026 17:58:30 +0000 Received: from fout-a3-smtp.messagingengine.com ([103.168.172.146]) by makus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.98.2) (envelope-from ) id 1w5SUu-000000010aE-0a6H for pgsql-hackers@postgresql.org; Wed, 25 Mar 2026 17:58:29 +0000 Received: from phl-compute-02.internal (phl-compute-02.internal [10.202.2.42]) by mailfout.phl.internal (Postfix) with ESMTP id 928DCEC0263; Wed, 25 Mar 2026 13:58:27 -0400 (EDT) Received: from phl-imap-14 ([10.202.2.87]) by phl-compute-02.internal (MEProxy); Wed, 25 Mar 2026 13:58:27 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=burd.me; h=cc: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=1774461507; x=1774547907; bh=oeFFSZ2PFVE0ftjVubZyUy1LhvGpBxdnt2E4m4PO4jo=; b= HeV/Ws11wnf3cRA7mJPM45pK2YxLNZilVWjby43UvFSmjvXE2Jh67u12TSun+7h2 tWOP81qxAGQIrT5qd1L4wmo/ozwbZFlL3Lm9StrmXO++t05KjBL8JN+w18/3veLS 8+AVAk/WX2lyhkGFPP/Wq2GFYy8LqrwCjNEekPa5jGJyeeb0bUCHfbVOVCjs+81a 7jC4WJ3JTWKdHKEGz6cdkbcXN1mpvM4mWa+MG7Xisj9ZsN4sl2ZxLWes1976Ld3G OULkgTXiRCR+0iE5M8iFlpyFEMu2VHZG/voA26Pe6U8sl0IzlnFwFIxdtLO0xZHF zvDeorcWP64N6frIJkmIuQ== 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 :references:reply-to:subject:subject:to:to:x-me-proxy :x-me-sender:x-me-sender:x-sasl-enc; s=fm1; t=1774461507; x= 1774547907; bh=oeFFSZ2PFVE0ftjVubZyUy1LhvGpBxdnt2E4m4PO4jo=; b=W rKcArUAbjKBkuXaKNHIwe8HbppnR2lkyZ2cys9OIs54THaaRobnTa/pOw7NE+eG4 iXafXXSvLGH/sstMhsYJN4m/y1lSsoc52eNzUGMJyu59/FCKcFejQ6Q8ou+x7fkp xc4DNJRILd9tIY6FVOq/gnl/UKv2ttXYCd4zI0gdwdVnoIkNxsXqfW5BwSu7WWHB QZgFQjHqKXHe6pkhXItLOr/aMHrg09EQkVrO4As/XeMjodaoUtRHorsLln4xD9GM HymfGgSUJF/EE8FvyjnuFScl6KO0cGlWKlEzYoyxHXM6MevnfkyZYvFZT84GYHju 95yt6mnPdxkXUSSWw0AaQ== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeefgedrtddtgdefvdehuddvucetufdoteggodetrf dotffvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfurfetoffkrfgpnffqhgenuceu rghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmnecujf gurhepofggfffhvfevkfgjfhfutgfgsehtjeertdertddtnecuhfhrohhmpedfifhrvghg uceuuhhrugdfuceoghhrvghgsegsuhhrugdrmhgvqeenucggtffrrghtthgvrhhnpedvue fhffdtvdevueffteehheefleevtedvfedtueefffeijeefudelveeftdffudenucevlhhu shhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpehgrhgvghessghurh gurdhmvgdpnhgspghrtghpthhtohepfedpmhhouggvpehsmhhtphhouhhtpdhrtghpthht ohepnhgrthhhrghnuggsohhsshgrrhhtsehgmhgrihhlrdgtohhmpdhrtghpthhtohepph hgshhqlhesjhdquggrvhhishdrtghomhdprhgtphhtthhopehpghhsqhhlqdhhrggtkhgv rhhssehpohhsthhgrhgvshhqlhdrohhrgh X-ME-Proxy: Feedback-ID: i675e48f3:Fastmail Received: by mailuser.phl.internal (Postfix, from userid 501) id 017A9C4006E; Wed, 25 Mar 2026 13:58:26 -0400 (EDT) X-Mailer: MessagingEngine.com Webmail Interface MIME-Version: 1.0 X-ThreadId: Aqv5ICFmdMAN Date: Wed, 25 Mar 2026 13:58:06 -0400 From: "Greg Burd" To: "Nathan Bossart" Cc: "Jeff Davis" , pgsql-hackers Message-Id: <440e2d60-60e2-4e7d-9ca2-9175599c5a07@app.fastmail.com> In-Reply-To: References: <7b8681a578b5fe77103948eeb7b5cdd80fabad5d.camel@j-davis.com> <4f48f75d-4f2a-4240-b66d-597517796e02@app.fastmail.com> <3fba3f5671eddb221ba38f5a12acbe7cad27edf3.camel@j-davis.com> <427bfbda-c901-49e4-b725-8ddc41bec23d@app.fastmail.com> <887b1ee62794553a95c3578fcdc0cc1831e68b27.camel@j-davis.com> <4040d3a4-01c2-4f24-9025-57cfc19aea57@app.fastmail.com> Subject: Re: Expanding HOT updates for expression and partial indexes Content-Type: text/plain Content-Transfer-Encoding: 7bit List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk On Wed, Mar 25, 2026, at 1:16 PM, Nathan Bossart wrote: > I just spoke to Greg off-list and wanted to share my current thoughts on > the list as well. In short, while we feel that the patch is in decent > shape and seems to be performance neutral (or maybe even positive in some > cases), it obviously doesn't accomplish $subject, and only a couple of > folks have looked at it in depth. Furthermore, if this patch was committed > and someone did find a problem, it'd be hard to justify anything except a > revert. So, it's probably better to keep working on the full patch set and > try to get $subject committed much earlier in the development cycle. Thanks Nathan, I 100% agree with that. As I think about this thread and the current patch vs the goals in $subject, it's just not there yet. There are no changes in the v38 set that enable HOT updates in new cases. What is in the v38 patch set is solid and does what it claims to do, has no performance regressions (I can find) and in cases where UPDATEs target many rows shows a performance improvement, but is that enough? More so, is now the right time? It's the end of the development cycle and we're about to freeze so I think the answer is obviously no. I do have more of the work nearly ready to layer back on top of this the changes to HOT for expression indexes (and more). And I'm confident that given the chance PHOT could layer on top of this as well. But those are not done yet. :) > If someone thinks that we should seriously consider committing this for > v19, please let us know. /me eats popcorn and waits for anyone interested to chime in... > -- > nathan If no one chimes in then I'll get this in shape for the first commit fest of the next cycle. :) best. -greg