Reverse btree indexes

Поиск
Список
Период
Сортировка
От Zach Aysan
Тема Reverse btree indexes
Дата
Msg-id CABYkO2Bfg6sJviiOCBze0fJ5720Oo3VjRnVtVNKM-0i0exALVg@mail.gmail.com
обсуждение исходный текст
Ответы Re: Reverse btree indexes  ("David G. Johnston" <david.g.johnston@gmail.com>)
Список pgsql-docs
Hey there! Thanks for putting together such wonderful documentation. I have a small suggestion for improvement.

 
Existing language:

for example, col LIKE 'foo%' or col ~ '^foo', but not col LIKE '%bar'.

Desired improvement:

 for example, col LIKE 'foo%' or col ~ '^foo', but not col LIKE '%bar', which would require a reversed index on the field. Postgres will automatically use the reverse index for LIKE '%bar'

Or if it doesn't:
 
for example, col LIKE 'foo%' or col ~ '^foo', but not col LIKE '%bar', which would require a reversed index on the field. To use the reversed index, query with reverse(col) like reverse('%bar').

I hope you all have a great day!

Zach
 

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

Предыдущее
От: PG Doc comments form
Дата:
Сообщение: Operator function clarification needed
Следующее
От: "David G. Johnston"
Дата:
Сообщение: Re: Reverse btree indexes