1
0
mirror of https://github.com/postgres/postgres.git synced 2025-07-09 22:41:56 +03:00

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
This commit is contained in:
Heikki Linnakangas
2020-10-19 17:58:38 +03:00
parent 00fecc24c1
commit 8ae447e2f7

View File

@ -1563,7 +1563,7 @@ SELECT to_tsquery('fat') <-> 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</>&gt;</literal>
<type>tsquery</> operator. For example: