| От | Marc McIntyre |
|---|---|
| Тема | Re: LIKE query problem |
| Дата | |
| Msg-id | 450F6120.6010208@squiz.net обсуждение исходный текст |
| Ответ на | Re: LIKE query problem (Tom Lane <tgl@sss.pgh.pa.us>) |
| Список | pgsql-performance |
Thanks Tom, Is that documented somewhere? I can't seem to see any mention of it in the docs. Tom Lane wrote: > Marc McIntyre <mmcintyre@squiz.net> writes: > >> ... Is there a way to perform this efficiently in one query ? >> > > No, because you're hoping for an indexscan optimization of a LIKE > query, and that can only happen if the pattern is a plan-time constant. > > regards, tom lane > > ---------------------------(end of broadcast)--------------------------- > TIP 1: if posting/reading through Usenet, please send an appropriate > subscribe-nomail command to majordomo@postgresql.org so that your > message can get through to the mailing list cleanly > >
В списке pgsql-performance по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера