On Thu, Dec 03, 2026 at 12:24:23PM -0500, Tom Lane wrote: > src/include/common/int128.h has been there for a long time, > remaining basically unchanged since 9.6. In the v19 cycle > Dean did a lot of work on it and added new functionality. > Now I'm looking at back-patching a bug fix [1] that requires > some of that new functionality. > > What I am considering doing is simply copying the current > state of int128.h into all the supported branches. This > seems in line with some other back-patching of widely-useful > functionality that we've done, such as making palloc_object > and friends available in back branches.
Seems reasonable. > We could go further by also back-patching > src/test/modules/test_int128, but that would add a deal > of work and I don't think it buys much. The last non-comment > change to int128.h was in August 2025, so it's survived > substantial testing and I think we can credit that it's OK > based on continued testing in v19/master. Yeah, I think we'd have to back-patch commit 8c7445a008, which is probably a little too invasive. -- nathan
