pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
[PATCH] Update vacrel->dead_items alias ptr to point to the shared TidStore in parallel_vacuum after reallocation of shared TidStore.
1+ messages / 1 participants
[nested] [flat]

* [PATCH] Update vacrel->dead_items alias ptr to point to the shared TidStore in parallel_vacuum after reallocation of shared TidStore.
@ 2025-10-01 10:54  Kevin Oommen Anish <kevin.o@zohocorp.com>
  0 siblings, 0 replies; 1+ messages in thread

From: Kevin Oommen Anish @ 2025-10-01 10:54 UTC (permalink / raw)

---
 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--






^ permalink  raw  reply  [nested|flat] 1+ messages in thread


only message in thread

Thread overview: 1+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2025-10-01 10:54 [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>

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