mirror of
https://github.com/postgres/postgres.git
synced 2026-03-22 18:33:19 -04:00
Fix pointer type of ShmemAllocatorData->index
This went unnoticed in commit e2362eb2bd because the pointer is cast
to/from a void pointer.
This commit is contained in:
parent
7d64419f80
commit
f30cebb954
1 changed files with 1 additions and 1 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Reference in a new issue