Re: LIKE query problem

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: LIKE query problem
Дата
Msg-id 26900.1158634219@sss.pgh.pa.us
обсуждение исходный текст
Ответ на LIKE query problem  (Marc McIntyre <mmcintyre@squiz.net>)
Ответы Re: LIKE query problem  (Marc McIntyre <mmcintyre@squiz.net>)
Список pgsql-performance
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

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

Предыдущее
От: "Luke Lonergan"
Дата:
Сообщение: Re: Large tables (was: RAID 0 not as fast as
Следующее
От: Marc McIntyre
Дата:
Сообщение: Re: LIKE query problem