Discussion about this post

User's avatar
Neural Foundry's avatar

Solid breakdown on the collation vs function trade-off. The computed column approach in SQL Server is kinda underrated since most devs just slap LOWER() everywhere and wonder why scans keep happening. I hit this in a legacy system migrating from MySQL to Postgres where assumimg citext would fix everything missed the indexing layer completely. The ILIKE vs LIKE split in Postgres catches alot of people who think one collation ruleset applies universally across operators.

Expand full comment
1 more comment...

No posts

Ready for more?