OSDN Git Service

Arrange to preallocate all required space for the buffer and FSM hash
authorTom Lane <tgl@sss.pgh.pa.us>
Tue, 28 Sep 2004 20:46:37 +0000 (20:46 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Tue, 28 Sep 2004 20:46:37 +0000 (20:46 +0000)
commit3a246cc28572db1b96467f15fd4df2be1e32925d
treecbd62990e88b9cb8676cd198119aebb38ac3c9ab
parentd9b68c8061ac925f341537ab03239f239bb51f29
Arrange to preallocate all required space for the buffer and FSM hash
tables in shared memory.  This ensures that overflow of the lock table
creates no long-lasting problems.  Per discussion with Merlin Moncure.
src/backend/storage/freespace/freespace.c
src/backend/storage/ipc/shmem.c
src/backend/storage/lmgr/lock.c
src/backend/utils/hash/dynahash.c
src/include/storage/shmem.h
src/include/utils/hsearch.h