Re: text_pattern_ops and complex regexps

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: text_pattern_ops and complex regexps
Дата
Msg-id 5986.1241622006@sss.pgh.pa.us
обсуждение исходный текст
Ответ на text_pattern_ops and complex regexps  (Stephen Frost <sfrost@snowman.net>)
Ответы Re: text_pattern_ops and complex regexps  (Stephen Frost <sfrost@snowman.net>)
Список pgsql-hackers
Stephen Frost <sfrost@snowman.net> writes:
>   I don't see why the last case can't use the index.

The planner's understanding of regexps is far weaker than yours.

(In particular, I think it's set up to abandon optimization if it
sees | anywhere.)
        regards, tom lane


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

Предыдущее
От: Олег Царев
Дата:
Сообщение: Some questions about PostgreSQL source code
Следующее
От: Stephen Frost
Дата:
Сообщение: Re: text_pattern_ops and complex regexps