diff options
-rw-r--r-- | contrib/bloom/blutils.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/bloom/blutils.c b/contrib/bloom/blutils.c index debf4f46eb7..b68a0d1d0cf 100644 --- a/contrib/bloom/blutils.c +++ b/contrib/bloom/blutils.c @@ -75,7 +75,7 @@ _PG_init(void) bl_relopt_tab[i + 1].optname = MemoryContextStrdup(TopMemoryContext, buf); bl_relopt_tab[i + 1].opttype = RELOPT_TYPE_INT; - bl_relopt_tab[i + 1].offset = offsetof(BloomOptions, bitSize[i]); + bl_relopt_tab[i + 1].offset = offsetof(BloomOptions, bitSize[0]) + sizeof(int) * i; } } |