summaryrefslogtreecommitdiff
path: root/src/include
diff options
context:
space:
mode:
authorHeikki Linnakangas <heikki.linnakangas@iki.fi>2011-04-11 13:43:31 +0300
committerHeikki Linnakangas <heikki.linnakangas@iki.fi>2011-04-11 13:43:31 +0300
commit7c797e7194d969f974abf579cacf30ffdccdbb95 (patch)
treee8613658516942b58181f98615721a0c997996c2 /src/include
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')
-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 bca34d23e2e..ce54c0a21b1 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 */