| From: | Nathan Bossart <nathandbossart(at)gmail(dot)com> |
|---|---|
| To: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
| Cc: | pgsql-hackers(at)lists(dot)postgresql(dot)org, Dean Rasheed <dean(dot)a(dot)rasheed(at)gmail(dot)com> |
| Subject: | Re: Back-patch v19 improvements to common/int128.h? |
| Date: | 2026-12-03 19:25:02 |
| Message-ID: | axHCDqQCL-_ZzL_C@nathan |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-hackers |
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
| From | Date | Subject | |
|---|---|---|---|
| Next Message | brianmacy | 2026-12-03 19:27:13 | Re: [PATCH v1] Open only the target segment to reach existing blocks |
| Previous Message | Alain LESAGE | 2026-12-03 19:07:58 | Re: [PATCH] Avoid copying tuples that a bounded sort will discard |