Andrew Gierth <andrew(at)tao11(dot)riddles(dot)org(dot)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