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:03 +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 7e0b7e44f14fce8af1a4b3121bf7c0eccef6cb7c..829e1497b9117b3dd860985add07010e81aaa465 100644 (file)
@@ -1541,9 +1541,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>