Re: BUG #19615: COVAR_POP / COVAR_SAMP / REGR_SXY return 0.0 instead of NaN - Mailing list pgsql-bugs

From Tom Lane
Subject Re: BUG #19615: COVAR_POP / COVAR_SAMP / REGR_SXY return 0.0 instead of NaN
Date
Msg-id 2796774.1786553409@sss.pgh.pa.us
Whole thread
In response to BUG #19615: COVAR_POP / COVAR_SAMP / REGR_SXY return 0.0 instead of NaN  (PG Bug reporting form <noreply@postgresql.org>)
List pgsql-bugs
I wrote:
> Yeah, I just arrived at pretty much the same conclusion.  We get
> Inf/NaN handling right for Sxx and Syy, but not for the cross-product
> Sxy.

Pushed after some fooling with the comment and test cases.

            regards, tom lane



pgsql-bugs by date:

Previous
From: Tom Lane
Date:
Subject: Re: BUG #19610: Database won't start if an unrelated process is exist
Next
From: Tom Lane
Date:
Subject: Re: COPY TO regression with psql -c