> On 23 Apr 2026, at 18:12, Andres Freund <[email protected]> wrote:
> I don't think it's safe to rely on that type of check working without -fwrapv > support, which in turn we can't rely on having. > > I think this should use pg_add_s32_overflow(). Agreed, I'll write up a patch to fix it. -- Daniel Gustafsson
