Re: Vacuum statistics

Andrey Borodin <x4mmm@yandex-team.ru>

From: Andrey Borodin <x4mmm@yandex-team.ru>
To: Alena Rybakina <lena.ribackina@yandex.ru>
Cc: Andrei Lepikhov <lepihov@gmail.com>, pgsql-hackers <pgsql-hackers@postgresql.org>, Alexander Korotkov <aekorotkov@gmail.com>, Amit Kapila <amit.kapila16@gmail.com>, Jim Nasby <jnasby@upgrade.com>, Bertrand Drouvot <bertranddrouvot.pg@gmail.com>, Kirill Reshke <reshkekirill@gmail.com>, Andrei Zubkov <zubkov@moonset.ru>, Masahiko Sawada <sawada.mshk@gmail.com>, Melanie Plageman <melanieplageman@gmail.com>, jian he <jian.universality@gmail.com>, Sami Imseih <samimseih@gmail.com>, vignesh C <vignesh21@gmail.com>, Ilia Evdokimov <ilya.evdokimov@tantorlabs.com>
Date: 2026-03-16T14:27:58Z
Lists: pgsql-hackers

> On 16 Mar 2026, at 17:11, Alena Rybakina <lena.ribackina@yandex.ru> wrote:
> 
> I moved the tests there. Regression tests are unfortunately not an option because the statistics are not stable.

I think there's no need to test for correct numbers. It would be totally enough
to just for sane numbers or even any numbers at all.
If the test just invokes the function without segfaulting - that's already by far
better than no test at all.

Of course, test that verifies expected behavior is better, if it's possible.


Best regards, Andrey Borodin.


Commits

Same data as JSON: GET /api/v1/messages/:b64id/commits the thread's linked commits as JSON, with link sources. API reference →
  1. Add relallfrozen to pg_class

  2. Move wal_buffers_full from PgStat_PendingWalStats to WalUsage