Skip to content

Commit 3e7d94f

Browse files
doc: Document pg_trgm being case-insensitive by default
pg_trgm is by default operating case-insensitively but the docs didn't mention that at all. Author: Erik Rijkers <er@xs4all.nl> Reviewed-by: Tom Lane <tgl@sss.pgh.pa.us> Reviewed-by: Daniel Gustafsson <daniel@yesql.se> Reported-by: marcmaiwald@googlemail.com Discussion: https://postgr.es/m/166064504415.652.12724576876807446945@wrigleys.postgresql.org
1 parent d265cd2 commit 3e7d94f

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

doc/src/sgml/pgtrgm.sgml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -416,6 +416,8 @@
416416
the above-described similarity operators, and additionally support
417417
trigram-based index searches for <literal>LIKE</literal>, <literal>ILIKE</literal>,
418418
<literal>~</literal>, <literal>~*</literal> and <literal>=</literal> queries.
419+
The similarity comparisons are case-insensitive in a default build of
420+
<filename>pg_trgm</filename>.
419421
Inequality operators are not supported.
420422
Note that those indexes may not be as efficient as regular B-tree indexes
421423
for equality operator.

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy