Re: Vacuum statistics

Поиск
Список
Период
Сортировка
От Alena Rybakina
Тема Re: Vacuum statistics
Дата
Msg-id 612819ad-beca-41fb-bb7f-d5a7c11f0045@yandex.ru
обсуждение исходный текст
Ответ на Re: Vacuum statistics  (Ilia Evdokimov <ilya.evdokimov@tantorlabs.com>)
Список pgsql-hackers
Hi! Thank you for reviewing it.

My email hasn’t been working properly recently, so I missed your letter
— sorry about that.

Yes, I completely agree with your proposed fix and have included it in
the updated version of the patch.

Just to remind you, this version stores vacuum statistics separately in
the cumulative system due to the issue with disabling the gathering of
vacuum statistics.

The patch had some conflicts with the current master branch, but I’ve
resolved them and now it applies cleanly without conflicts.

On 15.09.2025 23:46, Ilia Evdokimov wrote:
>
> Right now there is a bug: when I run a simple
>
> SELECT * FROM pg_stat_vacuum_database;
>
> psql crashes.
>
> The root cause is an incorrect zeroing of a local variable:
> PgStat_VacuumDBCounts allzero;
> - memset(&allzero, 0, sizeof(PgStat_VacuumRelationCounts));
> + memset(&allzero, 0, sizeof(PgStat_VacuumDBCounts));
>
> --
> Best regards,
> Ilia Evdokimov,
> Tantor Labs LLC,
> https://tantorlabs.com
>
>
>
>
>
Вложения

В списке pgsql-hackers по дате отправления: