[PATCH] Update vacrel->dead_items alias ptr to point to the shared TidStore in parallel_vacuum after reallocation of shared TidStore.

Kevin Oommen Anish <kevin.o@zohocorp.com>

From: Kevin Oommen Anish <kevin.o@zohocorp.com>
To:
Date: 2025-10-01T10:54:10Z
Lists: pgsql-bugs
---
 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--