Re: [Bug] Usage of stale dead_items pointer in parallel vacuum

From: John Naylor <johncnaylorls(at)gmail(dot)com>
To: Kevin Oommen Anish <kevin(dot)o(at)zohocorp(dot)com>
Cc: pgsql-bugs <pgsql-bugs(at)lists(dot)postgresql(dot)org>
Subject: Re: [Bug] Usage of stale dead_items pointer in parallel vacuum
Date: 2025-10-03 09:28:54
Message-ID: CANWCAZa3SgK2OWAXePUfy4xQrVevZ8waLMEH8DGOsed71ayM+Q@mail.gmail.com
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

On Wed, Oct 1, 2025 at 10:56 PM Kevin Oommen Anish <kevin(dot)o(at)zohocorp(dot)com> wrote:
> We have discovered a bug in the dead_items_reset function in PG v17 specifically near the parallel_vacuum_reset_dead_items function() invocation. The bug is still prevalent in the latest version v18 as well. Although it was introduced in v17, it was detected while running the vacuum.sql regression tests which were introduced in PG v17.5.

I've pushed your fix, thanks for the report!

--
John Naylor
Amazon Web Services

In response to

Browse pgsql-bugs by date

  From Date Subject
Next Message Maciej Walczak 2025-10-03 09:34:39 RE: BUG #19069: pg_advisory_xact_lock() in a WITH query doesn't work
Previous Message Marko Tiikkaja 2025-10-03 07:56:35 Re: [BUGS] BUG #11500: PRIMARY KEY index not being used