Skip to content
RED SAGSkills
hard20 pts · first answer countsindexingpostgresql

Index ignored because of a function

There is a B-tree index on users(email), but WHERE lower(email) = 'asha@example.com' still does a sequential scan in PostgreSQL. What is the right fix?

Choose one answer