Re: 9.4rc bug in percentile_cont - Mailing list pgsql-hackers

From Tom Lane
Subject Re: 9.4rc bug in percentile_cont
Date
Msg-id 3683.1418484934@sss.pgh.pa.us
Whole thread Raw
In response to 9.4rc bug in percentile_cont  (Andrew Gierth <andrew@tao11.riddles.org.uk>)
List pgsql-hackers
Andrew Gierth <andrew@tao11.riddles.org.uk> writes:
> Just got a report on IRC of a bug in the array version of
> percentile_cont; if two of the requested percentiles were between the
> same pair of input rows, the result could be wrong or an error would
> be generated.

Oooh, good catch.

> Proposed patch (against current master) attached.

I think this patch could be improved a bit; will work on it.
        regards, tom lane



pgsql-hackers by date:

Previous
From: Andrew Dunstan
Date:
Subject: Re: Status of CF 2014-10 and upcoming 2014-12
Next
From: Tom Lane
Date:
Subject: Re: pgbench -f and vacuum