aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHeikki Linnakangas <heikki.linnakangas@iki.fi>2020-10-19 17:58:38 +0300
committerHeikki Linnakangas <heikki.linnakangas@iki.fi>2020-10-19 17:58:59 +0300
commitf0e92bc4b0d783d700058f457a09d6c31e7edb01 (patch)
treeebe000dd13bf8aebf5a00cc674d6cc802616364c
parent9b27176c3ff62bd5fae4b57b58f8723fadeb34f8 (diff)
downloadpostgresql-f0e92bc4b0d783d700058f457a09d6c31e7edb01.tar.gz
postgresql-f0e92bc4b0d783d700058f457a09d6c31e7edb01.zip
Fix doc for full text search distance operator.
Commit 028350f619 changed its behavior from "at most" to "exactly", but forgot to update the documentation. Backpatch to 9.6. Patch by Justin Pryzby, per Yaroslav Schekin's report. Discussion: https://www.postgresql.org/message-id/20201005191922.GE17626%40telsasoft.com
-rw-r--r--doc/src/sgml/textsearch.sgml2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/src/sgml/textsearch.sgml b/doc/src/sgml/textsearch.sgml
index 15bac0dfdad..be5ede40d09 100644
--- a/doc/src/sgml/textsearch.sgml
+++ b/doc/src/sgml/textsearch.sgml
@@ -1637,7 +1637,7 @@ SELECT to_tsquery('fat') &lt;-&gt; to_tsquery('cat | rat');
<listitem>
<para>
Returns a query that searches for a match to the first given query
- followed by a match to the second given query at a distance of at
+ followed by a match to the second given query at a distance of exactly
<replaceable>distance</replaceable> lexemes, using
the <literal>&lt;<replaceable>N</replaceable>&gt;</literal>
<type>tsquery</type> operator. For example: