projects
/
postgresql.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d265cd2
)
doc: Document pg_trgm being case-insensitive by default
author
Daniel Gustafsson
<
[email protected]
>
Wed, 17 Aug 2022 07:56:02 +0000
(09:56 +0200)
committer
Daniel Gustafsson
<
[email protected]
>
Wed, 17 Aug 2022 07:56:02 +0000
(09:56 +0200)
pg_trgm is by default operating case-insensitively but the docs didn't
mention that at all.
Author: Erik Rijkers <
[email protected]
>
Reviewed-by: Tom Lane <
[email protected]
>
Reviewed-by: Daniel Gustafsson <
[email protected]
>
Reported-by:
[email protected]
Discussion: https://postgr.es/m/
166064504415
.652.
12724576876807446945
@wrigleys.postgresql.org
doc/src/sgml/pgtrgm.sgml
patch
|
blob
|
blame
|
history
diff --git
a/doc/src/sgml/pgtrgm.sgml
b/doc/src/sgml/pgtrgm.sgml
index 7e292822553e5191a9a00b4d6d709bfaf71ea73b..fefe30afb7caca61265c37fe2b24a38c770e9203 100644
(file)
--- a/
doc/src/sgml/pgtrgm.sgml
+++ b/
doc/src/sgml/pgtrgm.sgml
@@
-416,6
+416,8
@@
the above-described similarity operators, and additionally support
trigram-based index searches for <literal>LIKE</literal>, <literal>ILIKE</literal>,
<literal>~</literal>, <literal>~*</literal> and <literal>=</literal> queries.
+ The similarity comparisons are case-insensitive in a default build of
+ <filename>pg_trgm</filename>.
Inequality operators are not supported.
Note that those indexes may not be as efficient as regular B-tree indexes
for equality operator.