OSDN Git Service

Shared-memory hashtables have non-extensible directories, which means
authorTom Lane <tgl@sss.pgh.pa.us>
Sat, 26 Feb 2000 05:25:55 +0000 (05:25 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Sat, 26 Feb 2000 05:25:55 +0000 (05:25 +0000)
commit08b1040374a598fb8e720ce8b9e1844cdcff33d3
tree4017fc96cf052a933fb772bb3aefdee719e3e125
parentc05abfb1a845e1bf5e66638ee2b83609468ebfd6
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.
src/backend/storage/ipc/shmem.c
src/backend/utils/hash/dynahash.c
src/include/utils/hsearch.h