On Thu, Apr 23, 2026 at 10:29 AM Daniel Gustafsson <daniel@yesql.se> wrote:
> > On 23 Apr 2026, at 18:12, Andres Freund <andres@anarazel.de> wrote:
> > I think this should use pg_add_s32_overflow().
Agreed, thanks for the report!
> Agreed, I'll write up a patch to fix it.
Cool. I have one written up and can share it for comparison, if you'd
like, but it's fairly verbose and I wonder if there's a better way to
do it.
--Jacob