Re: index scan with functional indexes

Поиск
Список
Период
Сортировка
От Stephan Szabo
Тема Re: index scan with functional indexes
Дата
Msg-id 20040127095921.X65927@megazone.bigpanda.com
обсуждение исходный текст
Ответ на Re: index scan with functional indexes  (Dave Cramer <pg@fastcrypt.com>)
Список pgsql-hackers
On Tue, 27 Jan 2004, Dave Cramer wrote:

> same answer
>
> davec=# show enable_seqscan;
>  enable_seqscan
> ----------------
>  off
> (1 row)
>
> davec=# explain analyze select * from url where fn_strrev(url) like
> '%beta12.html';

That's still an unanchored like clause, besides I think that would get
urls that begin with lmth.21ateb.

I think the condition you want would be:
fn_strrev(url) like 'lmth.21ateb%'


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

Предыдущее
От: Dave Cramer
Дата:
Сообщение: Re: index scan with functional indexes
Следующее
От: Alvaro Herrera
Дата:
Сообщение: Re: index scan with functional indexes