Renan Alves Fonseca <renanfons...@gmail.com> writes: > histogram. In my tests, not always, a small annoying difference shows > up. Actually, it is really annoying, I'm struggling with it and I hope > someone helps me to find the missing bits.
Finally, I've found out that this error has been triggered by my test script. The problem arises when we run an ANALYZE command and there are pending stats waiting to be flushed. It seems that the pending stats are completely discarded, which might make sense for other statistics. Besides that, the patch works as expected.