1
0
mirror of https://github.com/postgres/postgres.git synced 2025-06-13 07:41:39 +03:00

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> </programlisting>
Either way, the word is spelled wrong, so let's look for what we might 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> <programlisting>
SELECT word FROM words ORDER BY word &lt;-&gt; 'caterpiler' LIMIT 10; SELECT word FROM words ORDER BY word &lt;-&gt; 'caterpiler' LIMIT 10;