summaryrefslogtreecommitdiff
path: root/contrib/bloom/bloom.h
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/bloom/bloom.h')
-rw-r--r--contrib/bloom/bloom.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/contrib/bloom/bloom.h b/contrib/bloom/bloom.h
index 63095723c9..fb0bc07f28 100644
--- a/contrib/bloom/bloom.h
+++ b/contrib/bloom/bloom.h
@@ -63,6 +63,12 @@ typedef BloomPageOpaqueData *BloomPageOpaque;
#define BLOOM_METAPAGE_BLKNO (0)
#define BLOOM_HEAD_BLKNO (1) /* first data page */
+/*
+ * Maximum of bloom signature length in uint16. Actual value
+ * is 512 bytes
+ */
+#define MAX_BLOOM_LENGTH (256)
+
/* Bloom index options */
typedef struct BloomOptions
{