Re: Vacuum statistics - Mailing list pgsql-hackers

From Andrey Borodin
Subject Re: Vacuum statistics
Date
Msg-id F41C6C12-2ECD-401E-BE98-C6CB007E5CF7@yandex-team.ru
Whole thread Raw
In response to Re: Vacuum statistics  (Alena Rybakina <lena.ribackina@yandex.ru>)
Responses Re: Vacuum statistics
List 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.


pgsql-hackers by date:

Previous
From: Daniel Gustafsson
Date:
Subject: Re: Serverside SNI support in libpq
Next
From: Fujii Masao
Date:
Subject: Re: Add missing stats_reset column to pg_statio_all_sequences view