aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHeikki Linnakangas <heikki.linnakangas@iki.fi>2020-10-19 18:50:33 +0300
committerHeikki Linnakangas <heikki.linnakangas@iki.fi>2020-10-19 18:51:00 +0300
commitcf01ade424cfac4c68ab00fe61bc65790448e6bb (patch)
treec629a7a02b04c6c06270db1fa3c827a1433314db
parent883226441d673ffc4d5fbdd57396030e5648155c (diff)
downloadpostgresql-cf01ade424cfac4c68ab00fe61bc65790448e6bb.tar.gz
postgresql-cf01ade424cfac4c68ab00fe61bc65790448e6bb.zip
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
-rw-r--r--doc/src/sgml/textsearch.sgml6
1 files changed, 3 insertions, 3 deletions
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.',
<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>