Hacker News .hnnew | past | comments | ask | show | jobs | submitlogin

Maybe this helps: https://stackoverflow.com/posts/11007216/revisions ?

My gut tells me that I would do it in the query itself though, and not rely on the collation. Maybe I am misunderstanding.



Look under "Update for Postgres 12 or later", there they create a collation, an index to make use of it and then a query to make use of it:

   SELECT \* FROM users WHERE name = 'João' COLLATE ignore_accent;




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

Search: