From f78982315977b7e6a103351a961a5f02f4ca5171 Mon Sep 17 00:00:00 2001
From: Heikki Linnakangas <heikki.linnakangas@iki.fi>
Date: Thu, 5 Mar 2026 22:09:35 +0200
Subject: [PATCH v2 1/4] Fix pointer type of ShmemAllocatorData->index

Cosmetic.
---
 src/backend/storage/ipc/shmem.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/backend/storage/ipc/shmem.c b/src/backend/storage/ipc/shmem.c
index 9f362ce8641..cfdd92bb2b5 100644
--- a/src/backend/storage/ipc/shmem.c
+++ b/src/backend/storage/ipc/shmem.c
@@ -87,7 +87,7 @@
 typedef struct ShmemAllocatorData
 {
 	Size		free_offset;	/* offset to first free space from ShmemBase */
-	HTAB	   *index;			/* copy of ShmemIndex */
+	HASHHDR	   *index;			/* location of ShmemIndex */
 
 	/* protects shared memory and LWLock allocation */
 	slock_t		shmem_lock;
-- 
2.47.3

