Fixes in bloom contrib module

Teodor Sigaev <teodor@sigaev.ru>

Commit: 80afb62db0f118f70367a357cef0509a11112ebb
Author: Teodor Sigaev <teodor@sigaev.ru>
Date: 2016-04-02T10:47:04Z
Releases: 9.6.0
Fixes in bloom contrib module

Looking at result of buildfarm member jaguarundi it seems to me that
BloomOptions isn't inited sometime, but I don't see yet how it's possible.
Nevertheless, check of signature length's is missed, so, add
a limit of it. Also add missed GenericXLogAbort() in case of already
deleted page in vacuum + minor code refactoring.

Files

PathChange+/−
contrib/bloom/bloom.h modified +6 −0
contrib/bloom/blutils.c modified +7 −4
contrib/bloom/blvacuum.c modified +7 −6