summaryrefslogtreecommitdiff
path: root/src/include/utils
diff options
context:
space:
mode:
authorHeikki Linnakangas2011-04-11 10:43:31 +0000
committerHeikki Linnakangas2011-04-11 10:43:31 +0000
commit7c797e7194d969f974abf579cacf30ffdccdbb95 (patch)
treee8613658516942b58181f98615721a0c997996c2 /src/include/utils
parentf510fc1d904d3266fd433b49664a7685f4fc89ef (diff)
Fix the size of predicate lock manager's shared memory hash tables at creation.
This way they don't compete with the regular lock manager for the slack shared memory, making the behavior more predictable.
Diffstat (limited to 'src/include/utils')
-rw-r--r--src/include/utils/hsearch.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/include/utils/hsearch.h b/src/include/utils/hsearch.h
index bca34d23e2..ce54c0a21b 100644
--- a/src/include/utils/hsearch.h
+++ b/src/include/utils/hsearch.h
@@ -92,6 +92,7 @@ typedef struct HASHCTL
#define HASH_CONTEXT 0x200 /* Set memory allocation context */
#define HASH_COMPARE 0x400 /* Set user defined comparison function */
#define HASH_KEYCOPY 0x800 /* Set user defined key-copying function */
+#define HASH_FIXED_SIZE 0x1000 /* Initial size is a hard limit */
/* max_dsize value to indicate expansible directory */