Re: BUG #4800: constraint_exclusion could be smarter with bool conversion

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: BUG #4800: constraint_exclusion could be smarter with bool conversion
Дата
Msg-id 7613.1241797452@sss.pgh.pa.us
обсуждение исходный текст
Ответ на BUG #4800: constraint_exclusion could be smarter with bool conversion  ("Alex" <alex@xdcom.org>)
Список pgsql-bugs
"Alex" <alex@xdcom.org> writes:
> I wish constraint_exclusion to be smarter with bool conversion so that
> 'select * from foo where (mask&5)::bool' can be faster;

Don't hold your breath.  It's tough enough deriving conclusions from
ordinary btree-indexable comparison operators.

            regards, tom lane

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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: 42804: structure of query does not match error where using RETURN QUERY
Следующее
От: Peter Much
Дата:
Сообщение: Re: BUG #4801: Performance failure: 600 MB written to each WAL log