Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1uyG5b-005jXe-Fz for pgsql-hackers@arkaria.postgresql.org; Mon, 15 Sep 2025 20:46:19 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.94.2) (envelope-from ) id 1uyG5Y-00DdbC-Uw for pgsql-hackers@arkaria.postgresql.org; Mon, 15 Sep 2025 20:46:17 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1uyG5Y-00Ddb4-L2 for pgsql-hackers@lists.postgresql.org; Mon, 15 Sep 2025 20:46:17 +0000 Received: from forward500a.mail.yandex.net ([2a02:6b8:c0e:500:1:45:d181:d500]) by makus.postgresql.org with smtp (Exim 4.96) (envelope-from ) id 1uyG5U-000bM1-2q for pgsql-hackers@postgresql.org; Mon, 15 Sep 2025 20:46:16 +0000 Received: from mail-nwsmtp-smtp-production-main-68.vla.yp-c.yandex.net (mail-nwsmtp-smtp-production-main-68.vla.yp-c.yandex.net [IPv6:2a02:6b8:c1d:3d8d:0:640:b127:0]) by forward500a.mail.yandex.net (Yandex) with ESMTPS id B056B810E3; Mon, 15 Sep 2025 23:46:05 +0300 (MSK) Received: by mail-nwsmtp-smtp-production-main-68.vla.yp-c.yandex.net (smtp/Yandex) with ESMTPSA id 4kWUpVgM0eA0-nYQ86e5L; Mon, 15 Sep 2025 23:46:05 +0300 X-Yandex-Fwd: 1 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tantorlabs.com; s=mail; t=1757969165; bh=aw0DnypfA9dt4z1Ikadt1GC5PcbTmnqSHgtYcOS0Vyo=; h=From:In-Reply-To:Cc:Date:References:To:Subject:Message-ID; b=nYGYKT/LXabvYIozxr/nqIpIFBiJdyn3Q7ZJBR51gfUDfEBOAVLfsa+ewtzIQSPRv axD9JPVwvRHn2fQ9C8U0Q1IsGE0cxPZDAAQ9KHCHLTFo3ChO2K1YNbf3qn/3hTPEfQ Q6J1DV1+pAyM9Y/8Hcp3cGQtKDwGRrHcx0+AJGX0= Authentication-Results: mail-nwsmtp-smtp-production-main-68.vla.yp-c.yandex.net; dkim=pass header.i=@tantorlabs.com Message-ID: Date: Mon, 15 Sep 2025 23:46:04 +0300 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: Vacuum statistics To: Alena Rybakina , pgsql-hackers Cc: Alexander Korotkov , Amit Kapila , Jim Nasby , Bertrand Drouvot , Kirill Reshke , Andrei Zubkov , Masahiko Sawada , Melanie Plageman , jian he , a.lepikhov@postgrespro.ru, Sami Imseih , vignesh C References: <86f76aa5-1ab5-4e2e-9b15-405051852a2a@postgrespro.ru> <333c2306-c401-4959-9f0c-a44c670a11a9@postgrespro.ru> <513f0188-b093-4cc8-98cf-4c324570d525@postgrespro.ru> <47a7b784-5218-43f2-96e3-65f9a729c5a5@tantorlabs.com> <5583261b-eede-4341-b3b1-91650fefc1cf@postgrespro.ru> <2a04ad18-5572-4633-848b-eb57209e7ac0@postgrespro.ru> <2f48399f-2959-4483-938f-64edb863ca76@postgrespro.ru> <18169b68-5b10-40fd-9657-be04f2bd0161@postgrespro.ru> Content-Language: en-US From: Ilia Evdokimov In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: quoted-printable List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk Hi Alena, Thanks for the work you=E2=80=99ve 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