Hey there! Thanks for putting together such wonderful documentation. I have
a small suggestion for improvement.

*Page:* https://www.postgresql.org/docs/13/indexes-types.html

*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

Reply via email to