Re: A question for the patch "blooming filter"

Поиск
Список
Период
Сортировка
От Fujii Masao
Тема Re: A question for the patch "blooming filter"
Дата
Msg-id 3f0b79eb0812091719s4d9dcae4x660f6e03fc2f86b1@mail.gmail.com
обсуждение исходный текст
Ответ на A question for the patch "blooming filter"  (Unicron <ssmei_2000@yahoo.com>)
Список pgsql-hackers
Hi,

On Wed, Dec 10, 2008 at 10:02 AM, Unicron <ssmei_2000@yahoo.com> wrote:
> i have a view of code, and find a question.There is a variable named
> 'bloom_pruning" set to be
> 'false' outside function 'bloom_filter_init' in file 'bloomfn.c', and there
> is a stataments
> if (bloom_pruning == false)
>    return;
> at begin of the function "bloom_filter_init".
>
> And i don't find  any places which set variable 'bloom_pruning' to 'true',
> may i take it as
> code following the statments above in 'bloom_filter_init' never execute?

bloom_pruning is GUC, so it's set to true/false when postgresql.conf
is parsed or SET command is executed.

Regards,

-- 
Fujii Masao
NIPPON TELEGRAPH AND TELEPHONE CORPORATION
NTT Open Source Software Center


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

Предыдущее
От: Unicron
Дата:
Сообщение: A question for the patch "blooming filter"
Следующее
От: ITAGAKI Takahiro
Дата:
Сообщение: Re: contrib/pg_stat_statements 1202