| От | Tom Lane |
|---|---|
| Тема | Re: LIKE without wildcard different from = |
| Дата | |
| Msg-id | 21547.1280941085@sss.pgh.pa.us обсуждение |
| Ответ на | Re: LIKE without wildcard different from = ("Kevin Grittner" <Kevin.Grittner@wicourts.gov>) |
| Ответы |
Re: LIKE without wildcard different from =
|
| Список | pgsql-performance |
"Kevin Grittner" <Kevin.Grittner@wicourts.gov> writes:
> To be clear, though, the problem isn't that it didn't turn a LIKE
> with no wildcard characters into an equality test, it's that it
> would have been three orders of magnitude faster (because of an
> available index with an opclass specification) if it had treated an
> equality test as a LIKE.
Ah. Well, the real fix for that is also in 8.4: we got rid of the
separate ~=~ operator, so a text_pattern_ops index is now usable
for plain =.
regards, tom lane
В списке pgsql-performance по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера