Re: Bug? 8.0 does not use partial index

Поиск
Список
Период
Сортировка
От John Hansen
Тема Re: Bug? 8.0 does not use partial index
Дата
Msg-id 1105663959.24775.14.camel@localhost.localdomain
обсуждение исходный текст
Ответ на Re: Bug? 8.0 does not use partial index  (Palle Girgensohn <girgen@pingpong.net>)
Ответы Re: Bug? 8.0 does not use partial index  (Palle Girgensohn <girgen@pingpong.net>)
Список pgsql-hackers
> > Dunno if you're desperate enough to try that ... but it does seem to work.

if yo're going to hack anyway, then why not just simply tell the planner
that you know better and that it should use the index, regardles of the
stats collected?

set enable_seqscan=false;
<your original query here>;
set enable_seqscan=true;

... JOhn



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

Предыдущее
От: Palle Girgensohn
Дата:
Сообщение: Re: Bug? 8.0 does not use partial index
Следующее
От: Michael Fuhr
Дата:
Сообщение: Re: Slow PL/pgSQL 8.0.RC5 (7.4.6. 3times faster)