bloom filter functions for postgresql