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.96) (envelope-from ) id 1wAWYK-0003ce-0m for pgsql-hackers@arkaria.postgresql.org; Wed, 08 Apr 2026 17:18:56 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.96) (envelope-from ) id 1wAWXJ-000qRS-1W for pgsql-hackers@arkaria.postgresql.org; Wed, 08 Apr 2026 17:17:54 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1wAWXJ-000qRK-0c for pgsql-hackers@lists.postgresql.org; Wed, 08 Apr 2026 17:17:54 +0000 Received: from sss.pgh.pa.us ([68.162.161.243]) by magus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.98.2) (envelope-from ) id 1wAWXF-000000002Qk-3v3G for pgsql-hackers@postgresql.org; Wed, 08 Apr 2026 17:17:53 +0000 Received: from sss1.sss.pgh.pa.us (localhost [127.0.0.1]) by sss.pgh.pa.us (8.15.2/8.15.2) with ESMTP id 638HHjPd3077291; Wed, 8 Apr 2026 13:17:46 -0400 From: Tom Lane To: Alexander Lakhin cc: Nathan Bossart , Sami Imseih , Bharath Rupireddy , Robert Treat , satyanarlapuram@gmail.com, pgsql-hackers Subject: Re: Add pg_stat_autovacuum_priority In-reply-to: <5684f479-858e-4c5d-b8f5-bcf05de1f909@gmail.com> References: <5684f479-858e-4c5d-b8f5-bcf05de1f909@gmail.com> Comments: In-reply-to Alexander Lakhin message dated "Wed, 08 Apr 2026 20:00:00 +0300" MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-ID: <3077289.1775668665.1@sss.pgh.pa.us> Content-Transfer-Encoding: quoted-printable Date: Wed, 08 Apr 2026 13:17:45 -0400 Message-ID: <3077290.1775668665@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk Alexander Lakhin writes: > Please look at a new anomaly, I and SQLsmith have discovered: > SELECT (SELECT score FROM pg_stat_get_autovacuum_scores() LIMIT 1), > =C2=A0=C2=A0=C2=A0 (SELECT score FROM pg_stat_get_autovacuum_scores() L= IMIT 1); > ERROR:=C2=A0 detected double pfree in PgStat Snapshot 0x5f6fa4d95d50 Good catch, but you're not the first: https://www.postgresql.org/message-id/CAHewXNkJKdwb3D5OnksrdOqzqUnXUEMpDam= 1TPW0vfUkW%3D7jUw%40mail.gmail.com regards, tom lane