Re: [HACKERS] partial indexes and bitmap scans - Mailing list pgsql-hackers

From Tom Lane
Subject Re: [HACKERS] partial indexes and bitmap scans
Date
Msg-id 22932.1489077864@sss.pgh.pa.us
Whole thread Raw
In response to [HACKERS] partial indexes and bitmap scans  (Stephen Frost <sfrost@snowman.net>)
Responses Re: [HACKERS] partial indexes and bitmap scans
List pgsql-hackers
Stephen Frost <sfrost@snowman.net> writes:
> Perhaps I'm missing something obvious, but isn't it a bit redundant to
> have both a Recheck condition (which is the predicate of the index) and
> a Filter condition (which is the user's predicate) when we've already
> decided that the user's predicate must result in a subset of the
> index's, as, otherwise, we wouldn't be able to use the index in the
> first place?

Yeah, I think this is just something that the planner doesn't see fit
to expend cycles on detecting.
        regards, tom lane



pgsql-hackers by date:

Previous
From: Dilip Kumar
Date:
Subject: Re: [HACKERS] Parallel Bitmap scans a bit broken
Next
From: Dilip Kumar
Date:
Subject: Re: [HACKERS] Parallel Bitmap scans a bit broken