mirror of
https://git.postgresql.org/git/postgresql.git
synced 2025-03-07 19:47:50 +08:00
Clarify that pg_trgm is used in example
Reported-by: Octopus ZHANG Author: Daniel Gustafsson
This commit is contained in:
parent
f85a485f89
commit
e3019f631d
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user