Re: Planner question - "bit" data types - Mailing list pgsql-performance

From Tom Lane
Subject Re: Planner question - "bit" data types
Date
Msg-id 8219.1252186420@sss.pgh.pa.us
Whole thread Raw
In response to Re: Planner question - "bit" data types  (Karl Denninger <karl@denninger.net>)
Responses Re: Planner question - "bit" data types  (Karl Denninger <karl@denninger.net>)
List pgsql-performance
Karl Denninger <karl@denninger.net> writes:
> That doesn't help in this case as the returned set will typically be
> quite large, with the condition typically being valid on anywhere from
> 10-80% of the returned tuples.

In that case you'd be wasting your time to get it to use an index
for the condition anyway.  Maybe you need to take a step back and
look at the query as a whole rather than focus on this particular
condition.

            regards, tom lane

pgsql-performance by date:

Previous
From: Karl Denninger
Date:
Subject: Re: Planner question - "bit" data types
Next
From: Karl Denninger
Date:
Subject: Re: Planner question - "bit" data types