diff options
author | Heikki Linnakangas <heikki.linnakangas@iki.fi> | 2011-03-31 13:37:01 +0300 |
---|---|---|
committer | Heikki Linnakangas <heikki.linnakangas@iki.fi> | 2011-03-31 13:37:01 +0300 |
commit | c8ae318cbeceadac172aa6b9cfa43734b0836e5e (patch) | |
tree | 314283e994717de72dbba0efc05aa3151a907be3 /src | |
parent | ec7626504f0fc8cca46d0f2a460e4b76177f79b3 (diff) | |
download | postgresql-c8ae318cbeceadac172aa6b9cfa43734b0836e5e.tar.gz postgresql-c8ae318cbeceadac172aa6b9cfa43734b0836e5e.zip |
Increase SHMEM_INDEX_SIZE from 32 to 64. We're currently at 40 entries in
ShmemIndex, so 64 leaves some headroom.
Kevin Grittner
Diffstat (limited to 'src')
-rw-r--r-- | src/include/storage/shmem.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/include/storage/shmem.h b/src/include/storage/shmem.h index 0b7da77ccd8..5d86b49e128 100644 --- a/src/include/storage/shmem.h +++ b/src/include/storage/shmem.h @@ -50,7 +50,7 @@ extern void RequestAddinShmemSpace(Size size); /* max size of data structure string name */ #define SHMEM_INDEX_KEYSIZE (48) /* estimated size of the shmem index table (not a hard limit) */ -#define SHMEM_INDEX_SIZE (32) +#define SHMEM_INDEX_SIZE (64) /* this is a hash bucket in the shmem index table */ typedef struct |