From f30cebb9542358702ca0f2c4be2cd504a2568606 Mon Sep 17 00:00:00 2001 From: Heikki Linnakangas Date: Fri, 13 Mar 2026 11:00:15 +0200 Subject: [PATCH] Fix pointer type of ShmemAllocatorData->index This went unnoticed in commit e2362eb2bd because the pointer is cast to/from a void pointer. --- 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..55e4a5421de 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;