Fix output of tsquery example in docs.
authorHeikki Linnakangas <[email protected]>
Mon, 19 Oct 2020 15:50:33 +0000 (18:50 +0300)
committerHeikki Linnakangas <[email protected]>
Mon, 19 Oct 2020 15:50:33 +0000 (18:50 +0300)
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

doc/src/sgml/textsearch.sgml

index 8af6ac01d302f1a654a195ce5536113a425df519..7daf292468a523e5b773e822e3b6944e74e3fa7b 100644 (file)
@@ -1623,9 +1623,9 @@ occurrences to display in the result.',
 
 <screen>
 SELECT to_tsquery('fat') &lt;-&gt; to_tsquery('cat | rat');
-             ?column?
------------------------------------
- 'fat' &lt;-&gt; 'cat' | 'fat' &lt;-&gt; 'rat'
+          ?column?
+----------------------------
+ 'fat' &lt;-&gt; ( 'cat' | 'rat' )
 </screen>
       </para>
      </listitem>