Re: Vacuum statistics - Mailing list pgsql-hackers

From Ilia Evdokimov
Subject Re: Vacuum statistics
Date
Msg-id c43ef413-f65b-46a5-b8a1-28949daaa889@tantorlabs.com
Whole thread Raw
In response to Re: Vacuum statistics  (Alena Rybakina <a.rybakina@postgrespro.ru>)
List pgsql-hackers
Hi Alena,

Thanks for the work you’ve done.

On 01.09.2025 22:13, Alena Rybakina wrote:
> I've rebased the patches to the current HEAD.


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 by date:

Previous
From: Álvaro Herrera
Date:
Subject: Re: Implement waiting for wal lsn replay: reloaded
Next
From: Robert Haas
Date:
Subject: Re: Identifying function-lookup failures due to argument name mismatches