Hacker News new | past | comments | ask | show | jobs | submit login

I'm no Postgres master by any means, but I searched it: https://duckduckgo.com/?q=postgres+case+insensitive+query

solution immediately came up at SO:

    SELECT id FROM users WHERE LOWER(email)=LOWER('Foo@example.com')



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: