Clarify that pg_trgm is used in example

Reported-by: Octopus ZHANG
Author: Daniel Gustafsson
This commit is contained in:
Magnus Hagander 2020-01-09 10:48:22 +01:00
parent f85a485f89
commit e3019f631d

View File

@ -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;