pg_trgm is by default operating case-insensitively but the docs didn't
mention that at all.
Author: Erik Rijkers
Reviewed-by: Tom Lane
Reviewed-by: Daniel Gustafsson
Reported-by: [email protected]
Discussion: https://postgr.es/m/166064504415.652.12724576876807446945@wrigleys.postgresql.org
the above-described similarity operators, and additionally support
trigram-based index searches for LIKE, ILIKE,
~, ~* and = queries.
+ The similarity comparisons are case-insensitive in a default build of
+ pg_trgm.
Inequality operators are not supported.
Note that those indexes may not be as efficient as regular B-tree indexes
for equality operator.