Re: Question about trigram GIST index

Поиск
Список
Период
Сортировка
От Giuseppe Broccolo
Тема Re: Question about trigram GIST index
Дата
Msg-id CAFzmHiXNZUU36WBPLSJY9gDfHrqSjBOZkNOLXHgS8ASV=4wZZw@mail.gmail.com
обсуждение исходный текст
Ответ на Re: Question about trigram GIST index  (Robert DiFalco <robert.difalco@gmail.com>)
Ответы Re: Question about trigram GIST index  (Robert DiFalco <robert.difalco@gmail.com>)
Re: Question about trigram GIST index  (Jeff Janes <jeff.janes@gmail.com>)
Re: Question about trigram GIST index  (Kevin Grittner <kgrittn@ymail.com>)
Список pgsql-performance
I'm not sure about the '%' operator, but I'm sure that the GIST index will never be used in the

  SELECT * FROM users WHERE lower(name) LIKE '%john%';

query; it is used for left or right anchored search, such as 'john%' or '%john'.

Giuseppe.
--
Giuseppe Broccolo - 2ndQuadrant Italy
PostgreSQL Training, Services and Support
giuseppe.broccolo@2ndQuadrant.it | www.2ndQuadrant.it

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

Предыдущее
От: Robert DiFalco
Дата:
Сообщение: Re: Question about trigram GIST index
Следующее
От: Robert DiFalco
Дата:
Сообщение: Re: Question about trigram GIST index