| От | 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?
|
| Список | 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 по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера