postgres.git / summary / log / commit / refs

commit    8ae447e2f7cd1a60e715f624dc7fe1e1a768e7ab
Author:   Heikki Linnakangas <heikki.linnakangas@iki.fi>
Date:     Mon Oct 19 14:58:38 2020 +0000
First released in: 14.0, 9.6.20, 10.15, 11.10, 12.5, 13.1

    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


doc/src/sgml/textsearch.sgml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/src/sgml/textsearch.sgml b/doc/src/sgml/textsearch.sgml index 7329b5c8131..d5061f2fb45 100644 --- a/doc/src/sgml/textsearch.sgml +++ b/doc/src/sgml/textsearch.sgml @@ -1563,7 +1563,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</>&gt;</literal> <type>tsquery</> operator. For example: [parent: 00fecc24c140]