Re: Vacuum statistics - Mailing list pgsql-hackers

From Alena Rybakina
Subject Re: Vacuum statistics
Date
Msg-id 612819ad-beca-41fb-bb7f-d5a7c11f0045@yandex.ru
Whole thread Raw
In response to Re: Vacuum statistics  (Ilia Evdokimov <ilya.evdokimov@tantorlabs.com>)
List 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
>
>
>
>
>
Attachment

pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: plan shape work
Next
From: Marcos Pegoraro
Date:
Subject: Missing parentheses