Shared-memory hashtables have non-extensible directories, which means

Tom Lane <tgl@sss.pgh.pa.us>

Commit: 08b1040374a598fb8e720ce8b9e1844cdcff33d3
Author: Tom Lane <tgl@sss.pgh.pa.us>
Date: 2000-02-26T05:25:55Z
Releases: 7.1.1
Shared-memory hashtables have non-extensible directories, which means
it's a good idea to choose the directory size based on the expected
number of entries.  But ShmemInitHash was using a hard-wired constant.
Boo hiss.  This accounts for recent report of postmaster failure when
asking for 64K or more buffers.

Files

PathChange+/−
src/backend/storage/ipc/shmem.c modified +9 −7
src/backend/utils/hash/dynahash.c modified +30 −5
src/include/utils/hsearch.h modified +14 −13