pgsql: Fix contrib/bloom to not fail under CLOBBER_CACHE_ALWAYS.

Поиск
Список
Период
Сортировка
От Tom Lane
Тема pgsql: Fix contrib/bloom to not fail under CLOBBER_CACHE_ALWAYS.
Дата
Msg-id E1amnVO-00085f-EC@gemulon.postgresql.org
обсуждение исходный текст
Список pgsql-committers
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.

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/8f75fd1f402acbc30bc15dbf51eb6dec1bbec600

Modified Files
--------------
contrib/bloom/bloom.h   | 5 ++---
contrib/bloom/blscan.c  | 4 ++--
contrib/bloom/blutils.c | 8 ++++----
3 files changed, 8 insertions(+), 9 deletions(-)


В списке pgsql-committers по дате отправления:

Предыдущее
От: Tom Lane
Дата:
Сообщение: pgsql: Clean up some stuff in new contrib/bloom module.
Следующее
От: Tom Lane
Дата:
Сообщение: pgsql: Clean up dubious code in contrib/seg.