On 01.05.2025 16:37, Andrei Lepikhov wrote:
I still think that two meaningful digits are enough for an EXPLAIN. We usually need to estimate the tuple set's size, not a precise number of tuples or groups. And definitely, not an arbitrarily chosen two digits after the point. So, IMO, good examples may look like the following:
50%, 5.0%, 0.00051%.


The idea is not bad. But I think it might be better to raise this in a new thread, because this is not the only place [0] where we might want to output numbers like that. We could also discuss there what else might benefit from such formatting.

[0]: https://www.postgresql.org/message-id/3365160.1739385615%40sss.pgh.pa.us

--
Best regards,
Ilia Evdokimov,
Tantor Labs LLC.



Reply via email to