Mats Kindahl <mats(at)timescale(dot)com> writes:
> On Fri, Mar 31, 2023 at 3:14 PM Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> wrote:
>> While I'm not bothered too much if rounding affects which internal
>> bucket a value lands in, it's a bit more annoying if that causes
>> it to be reported as being in the end bucket, when we know positively
>> that the value is less than bound2. Is it worth expending more
>> cycles to prevent this?
> I think it could be. I agree that it does not make sense to select the end
> bucket when the value is in range, even if just.
Yeah. I did that already at a2a0c7c29, sorry for not circling back
to this thread.
regards, tom lane