Re: [PATCH] Fix overflow and underflow in regr_r2()

Dean Rasheed <dean.a.rasheed@gmail.com>

From: Dean Rasheed <dean.a.rasheed@gmail.com>
To: Chengpeng Yan <chengpeng_yan@outlook.com>
Cc: Tom Lane <tgl@sss.pgh.pa.us>, PostgreSQL-development <pgsql-hackers@postgresql.org>
Date: 2026-06-03T08:40:43Z
Lists: pgsql-hackers
On Fri, 29 May 2026 at 05:23, Chengpeng Yan <chengpeng_yan@outlook.com> wrote:
>
> > On May 28, 2026, at 20:37, Dean Rasheed <dean.a.rasheed@gmail.com> wrote:
> >
> > If there are no objections from the RMT, I'll push both of these (to
> > HEAD only) in a couple of days or so.
>
> v2 LGTM.
>
> I ran the regression tests locally on Apple Silicon as well, and all
> tests passed.

OK, I have pushed both patches. Thanks for reviewing and testing.

Regards,
Dean



Commits

Same data as JSON: GET /api/v1/messages/:b64id/commits the thread's linked commits as JSON, with link sources. API reference →
  1. Improve overflow/underflow handling in regr_intercept().

  2. Improve overflow/underflow handling in regr_r2().