]> granicus.if.org Git - postgresql/commit
Fix contrib/bloom to not fail under CLOBBER_CACHE_ALWAYS.
authorTom Lane <tgl@sss.pgh.pa.us>
Sun, 3 Apr 2016 19:16:07 +0000 (15:16 -0400)
committerTom Lane <tgl@sss.pgh.pa.us>
Sun, 3 Apr 2016 19:16:07 +0000 (15:16 -0400)
commit8f75fd1f402acbc30bc15dbf51eb6dec1bbec600
treed7c56b357ba1a302fdf86321491db4685a154945
parenta9284849b48b04fa2836aaf704659974c13e610d
Fix contrib/bloom to not fail under CLOBBER_CACHE_ALWAYS.

The code was supposing that rd_amcache wouldn't disappear from under it
during a scan; which is wrong.  Copy the data out of the relcache rather
than trying to reference it there.
contrib/bloom/bloom.h
contrib/bloom/blscan.c
contrib/bloom/blutils.c