From: Heikki Linnakangas Date: Fri, 13 Mar 2026 09:00:15 +0000 (+0200) Subject: Fix pointer type of ShmemAllocatorData->index X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f30cebb9542358702ca0f2c4be2cd504a2568606;p=thirdparty%2Fpostgresql.git Fix pointer type of ShmemAllocatorData->index This went unnoticed in commit e2362eb2bd because the pointer is cast to/from a void pointer. --- 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;