projects
/
postgresql.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f85a485
)
Clarify that pg_trgm is used in example
author
Magnus Hagander
<magnus@hagander.net>
Thu, 9 Jan 2020 09:48:22 +0000
(10:48 +0100)
committer
Magnus Hagander
<magnus@hagander.net>
Thu, 9 Jan 2020 09:48:22 +0000
(10:48 +0100)
Reported-by: Octopus ZHANG
Author: Daniel Gustafsson
doc/src/sgml/rules.sgml
patch
|
blob
|
blame
|
history
diff --git
a/doc/src/sgml/rules.sgml
b/doc/src/sgml/rules.sgml
index 2610645663f009742ff9c3731ba0028d29a53053..bcf860b68b9c2e5acf5d681af71251dd51530e27 100644
(file)
--- a/
doc/src/sgml/rules.sgml
+++ b/
doc/src/sgml/rules.sgml
@@
-1039,7
+1039,8
@@
SELECT count(*) FROM words WHERE word = 'caterpiler';
</programlisting>
Either way, the word is spelled wrong, so let's look for what we might
- have wanted. Again using <literal>file_fdw</literal>:
+ have wanted. Again using <literal>file_fdw</literal> and
+ <literal>pg_trgm</literal>:
<programlisting>
SELECT word FROM words ORDER BY word <-> 'caterpiler' LIMIT 10;