mirror of
https://github.com/postgres/postgres.git
synced 2025-06-11 20:28:21 +03:00
Clarify that pg_trgm is used in example
Reported-by: Octopus ZHANG Author: Daniel Gustafsson
This commit is contained in:
@ -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;
|
||||
|
Reference in New Issue
Block a user