Re: [Bug] Usage of stale dead_items pointer in parallel vacuum - Mailing list pgsql-bugs

From John Naylor
Subject Re: [Bug] Usage of stale dead_items pointer in parallel vacuum
Date
Msg-id CANWCAZbfPmrdAzsUn4X805dmmqTBmxMHk81wB9Z3Eb2AbCYtvw@mail.gmail.com
Whole thread Raw
In response to Re: [Bug] Usage of stale dead_items pointer in parallel vacuum  (Richard Guo <guofenglinux@gmail.com>)
Responses Re: [Bug] Usage of stale dead_items pointer in parallel vacuum
List pgsql-bugs
On Thu, Oct 2, 2025 at 11:17 AM Richard Guo <guofenglinux@gmail.com> wrote:
> I can reproduce the issue and confirm that your patch fixes it.  I
> didn't use your custom malloc allocator but instead applied a
> redundant palloc0 for TidStore in TidStoreCreateShared(), hoping to
> get a different chunk of memory (haha).

I'm starting to wonder if we should have something similar to that
allocator in core, which is actually here and not in the link
upthread:

https://www.postgresql.org/message-id/193261e2c4d.3dd3cd7c1842.871636075166132237@zohocorp.com

--
John Naylor
Amazon Web Services



pgsql-bugs by date:

Previous
From: Richard Guo
Date:
Subject: Re: [Bug] Usage of stale dead_items pointer in parallel vacuum
Next
From: "White, Ian Keith"
Date:
Subject: RE: IN List operator , where list of values are over a number of lines