Re: Bug in predicate indexes?

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Bug in predicate indexes?
Дата
Msg-id 6055.1132325904@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Bug in predicate indexes?  ("Joshua D. Drake" <jd@commandprompt.com>)
Ответы Re: Bug in predicate indexes?  ("Joshua D. Drake" <jd@commandprompt.com>)
Re: Bug in predicate indexes?  ("Jim C. Nasby" <jnasby@pervasive.com>)
Список pgsql-hackers
"Joshua D. Drake" <jd@commandprompt.com> writes:
> It appears that predicate indexes won't uses indexes on int8 columns 
> unless they are casted:

This is a known (although perhaps not well documented) limitation of the
predicate testing logic.  You do not need a cast in the query, though,
only in the index's WHERE condition.
        regards, tom lane


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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: Optional postgres database not so optional in 8.1
Следующее
От: Andrew Dunstan
Дата:
Сообщение: Re: Anyone want to fix plperl for null array elements?