Re: A question for the patch "blooming filter" - Mailing list pgsql-hackers

From Fujii Masao
Subject Re: A question for the patch "blooming filter"
Date
Msg-id 3f0b79eb0812091719s4d9dcae4x660f6e03fc2f86b1@mail.gmail.com
Whole thread Raw
In response to A question for the patch "blooming filter"  (Unicron <ssmei_2000@yahoo.com>)
List 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 by date:

Previous
From: Unicron
Date:
Subject: A question for the patch "blooming filter"
Next
From: ITAGAKI Takahiro
Date:
Subject: Re: contrib/pg_stat_statements 1202