Postgres 12 case-insensitive compare
问题 I'm attempting to move a SQL Server DB which is used by a C# application (+EF6) to Postgres 12 but I'm not having much luck with getting case-insensitive string comparisons working. The existing SQL Server db uses SQL_Latin1_General_CP1_CI_AS collation which means all WHERE clauses don't have to worry about case. I understand that CIText was the way to do this previously, but is now superseded by non-deterministic collations. I created such a collation; CREATE COLLATION ci (provider = icu,