From e3019f631d1f2e21667ad05f903c52d904b9048c Mon Sep 17 00:00:00 2001 From: Magnus Hagander Date: Thu, 9 Jan 2020 10:48:22 +0100 Subject: [PATCH] Clarify that pg_trgm is used in example Reported-by: Octopus ZHANG Author: Daniel Gustafsson --- doc/src/sgml/rules.sgml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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'; Either way, the word is spelled wrong, so let's look for what we might - have wanted. Again using file_fdw: + have wanted. Again using file_fdw and + pg_trgm: SELECT word FROM words ORDER BY word <-> 'caterpiler' LIMIT 10;