Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Fix output of tsquery example in docs.
authorHeikki Linnakangas <heikki.linnakangas@iki.fi>
Mon, 19 Oct 2020 15:50:33 +0000 (18:50 +0300)
committerHeikki Linnakangas <heikki.linnakangas@iki.fi>
Mon, 19 Oct 2020 15:51:00 +0000 (18:51 +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 5e1536da66a105f3b7be60a9c46e3cd5b83107a4..c066e7c8a99b924fc6ced4295dd9dfab0243c97f 100644 (file)
@@ -1621,9 +1621,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>