On Fri, 13 Nov 2026, Melanie Plageman <melanieplageman(at)gmail(dot)com> wrote:
> make this change (the -1/0 change) until we have consensus on the
> desired behavior and review of the docs change. I'm pretty sure the
> right immediate step is to make the 0 clamp work, though.
+1, the patch looks good to me.
vacuumlazy.c:1606 also uses 0 clamping correctly for new_rel_tuples
(that's a double), so at least those two will be consistent with this.
However, there it's used as a part of a sum, so I don't think we can
adjust that even on master.