Re: Regex query not using index

Поиск
Список
Период
Сортировка
От Postgres User
Тема Re: Regex query not using index
Дата
Msg-id b88c3460802192152o3b6eb7e9y9bca5b0e5c7870bf@mail.gmail.com
обсуждение исходный текст
Ответ на Re: Regex query not using index  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-general
doh!  tom, let me know if you decide to hack out a fix for this one of
these nights ;)
thanks for your help.

On Feb 19, 2008 9:45 PM, Tom Lane <tgl@sss.pgh.pa.us> wrote:
> "Postgres User" <postgres.developer@gmail.com> writes:
> > Yes that works, but the whole point of the exercise is replace many OR
> > statements with 1 regex expression.  So it's not what I'm looking for.
>
> Unfortunately, Postgres is not as intelligent as you are.  There is
> no mechanism to rewrite a multi-branch regex condition into multiple
> indexscans.  I recommend going back to the OR's.
>
>                         regards, tom lane
>

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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: Regex query not using index
Следующее
От: "Postgres User"
Дата:
Сообщение: Re: Regex query not using index