Re: Bug in predicate indexes?

Поиск
Список
Период
Сортировка
От Jim C. Nasby
Тема Re: Bug in predicate indexes?
Дата
Msg-id 20051122010507.GU19279@pervasive.com
обсуждение исходный текст
Ответ на Re: Bug in predicate indexes?  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: Bug in predicate indexes?  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
On Fri, Nov 18, 2005 at 09:58:24AM -0500, Tom Lane wrote:
> "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.

I'm working on a docs patch for this (attached, but un-tested); is
bigint the only datatype this applies to or are there others?
--
Jim C. Nasby, Sr. Engineering Consultant      jnasby@pervasive.com
Pervasive Software      http://pervasive.com    work: 512-231-6117
vcard: http://jim.nasby.net/pervasive.vcf       cell: 512-569-9461

Вложения

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

Предыдущее
От: Andrew Dunstan
Дата:
Сообщение: Re: Should libedit be preferred to libreadline?
Следующее
От: Bob Ippolito
Дата:
Сообщение: Re: PostgreSQL 8.1.0 catalog corruption