From 7c797e7194d969f974abf579cacf30ffdccdbb95 Mon Sep 17 00:00:00 2001 From: Heikki Linnakangas Date: Mon, 11 Apr 2011 13:43:31 +0300 Subject: 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. --- src/include/utils/hsearch.h | 1 + 1 file changed, 1 insertion(+) (limited to 'src/include/utils') 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 */ -- cgit v1.2.3