Re: BUG #14437: BTREE Index is not used for queries on citext columns
В списке pgsql-bugs по дате отправления:
| От | Tom Lane |
|---|---|
| Тема | Re: BUG #14437: BTREE Index is not used for queries on citext columns |
| Дата | |
| Msg-id | 3924.1480351187@sss.pgh.pa.us обсуждение исходный текст |
| Ответ на | BUG #14437: BTREE Index is not used for queries on citext columns (pawel.kania@moneyhouse.de) |
| Список | pgsql-bugs |
pawel.kania@moneyhouse.de writes:
> [ citext LIKE operator isn't indexable ]
Yeah. Don't hold your breath waiting for that to get better :-(.
The problem is that there's no way for extensions to plug into the
"special index operator" mechanism in the planner, so there's no
way to derive indexable range conditions from the citext LIKE operator.
That's probably solvable with enough sweat, but so far no one has
taken an interest in working on it.
Even if that were fixed, I'm not sure that your examples would be
indexable, because the patterns all start with case-foldable characters.
The "special index operator" conversion for ILIKE just throws up its hands
when it sees that, and I doubt citext could do any better.
regards, tom lane
В списке pgsql-bugs по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера