summaryrefslogtreecommitdiff
path: root/doc/src/sgml/rules.sgml
diff options
context:
space:
mode:
authorMagnus Hagander2020-01-09 09:48:22 +0000
committerMagnus Hagander2020-01-09 09:48:22 +0000
commite3019f631d1f2e21667ad05f903c52d904b9048c (patch)
treee271b748f77f0bff63ce3c9fb27f2de6d0227f30 /doc/src/sgml/rules.sgml
parentf85a485f89e2eb38499558c7489f108994410952 (diff)
Clarify that pg_trgm is used in example
Reported-by: Octopus ZHANG Author: Daniel Gustafsson
Diffstat (limited to 'doc/src/sgml/rules.sgml')
-rw-r--r--doc/src/sgml/rules.sgml3
1 files changed, 2 insertions, 1 deletions
diff --git a/doc/src/sgml/rules.sgml b/doc/src/sgml/rules.sgml
index 2610645663f..bcf860b68b9 100644
--- 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 &lt;-&gt; 'caterpiler' LIMIT 10;