From: Heikki Linnakangas Date: Mon, 19 Oct 2020 15:50:33 +0000 (+0300) Subject: Fix output of tsquery example in docs. X-Git-Tag: REL9_6_20~31 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=07d46e7e077f5a1c1d6b5d7c9c8fff51c66d54e5;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 d5061f2fb45..3da4aaa024a 100644 --- a/doc/src/sgml/textsearch.sgml +++ b/doc/src/sgml/textsearch.sgml @@ -1541,9 +1541,9 @@ occurrences to display in the result.', SELECT to_tsquery('fat') <-> to_tsquery('cat | rat'); - ?column? ------------------------------------ - 'fat' <-> 'cat' | 'fat' <-> 'rat' + ?column? +---------------------------- + 'fat' <-> ( 'cat' | 'rat' )