pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Kevin Oommen Anish <kevin.o@zohocorp.com>
Subject: [PATCH] Update vacrel->dead_items alias ptr to point to the shared TidStore in parallel_vacuum after reallocation of shared TidStore.
Date: Wed, 1 Oct 2025 16:24:10 +0530

---
 src/backend/access/heap/vacuumlazy.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/access/heap/vacuumlazy.c b/src/backend/access/heap/vacuumlazy.c
index 932701d8420..58fadaf803e 100644
--- a/src/backend/access/heap/vacuumlazy.c
+++ b/src/backend/access/heap/vacuumlazy.c
@@ -3561,6 +3561,7 @@ dead_items_reset(LVRelState *vacrel)
 	if (ParallelVacuumIsActive(vacrel))
 	{
 		parallel_vacuum_reset_dead_items(vacrel->pvs);
+		vacrel->dead_items = parallel_vacuum_get_dead_items(vacrel->pvs, &vacrel->dead_items_info);
 		return;
 	}
 
-- 
2.43.0


------=_Part_88809_43426107.1759334153724--






Message-ID: <no-message-id-25338@localhost>
Permalink:  ../no-message-id-25338@localhost/
Also on:    postgresql.org/message-id/no-message-id-25338@localhost

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-bugs@postgresql.org
  Cc: kevin.o@zohocorp.com
  Subject: Re: [PATCH] Update vacrel->dead_items alias ptr to point to the shared TidStore in parallel_vacuum after reallocation of shared TidStore.
  In-Reply-To: <no-message-id-25338@localhost>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox