From: Heikki Linnakangas Date: Mon, 19 Oct 2020 15:50:33 +0000 (+0300) Subject: Fix output of tsquery example in docs. X-Git-Tag: REL_11_10~39 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=cf01ade424cfac4c68ab00fe61bc65790448e6bb;p=thirdparty%2Fpostgresql.git Fix output of tsquery example in docs. The output for this query changed in commit 4e2477b7b8. Backport to 9.6 like that commit. Patch by Justin Pryzby, per Yaroslav Schekin's report. Discussion: https://www.postgresql.org/message-id/20201005191922.GE17626%40telsasoft.com --- diff --git a/doc/src/sgml/textsearch.sgml b/doc/src/sgml/textsearch.sgml index 5e1536da66a..c066e7c8a99 100644 --- a/doc/src/sgml/textsearch.sgml +++ b/doc/src/sgml/textsearch.sgml @@ -1621,9 +1621,9 @@ occurrences to display in the result.', SELECT to_tsquery('fat') <-> to_tsquery('cat | rat'); - ?column? ------------------------------------ - 'fat' <-> 'cat' | 'fat' <-> 'rat' + ?column? +---------------------------- + 'fat' <-> ( 'cat' | 'rat' )