projects
/
postgresql.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ec76265
)
Increase SHMEM_INDEX_SIZE from 32 to 64. We're currently at 40 entries in
author
Heikki Linnakangas
Thu, 31 Mar 2011 10:37:01 +0000
(13:37 +0300)
committer
Heikki Linnakangas
Thu, 31 Mar 2011 10:37:01 +0000
(13:37 +0300)
ShmemIndex, so 64 leaves some headroom.
Kevin Grittner
src/include/storage/shmem.h
patch
|
blob
|
blame
|
history
diff --git
a/src/include/storage/shmem.h
b/src/include/storage/shmem.h
index 0b7da77ccd851d5196789daae2a9bce73d211eeb..5d86b49e128468857ceb1ede79d9de37d7517ad5 100644
(file)
--- 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