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:50:56 +0300
commit660cbe807596399c34e56f7ff2554a39cde0f70c (patch)
tree440d25a028c878ea7a15c8381d16cccaa468db7c
parent407580aabb831f933234c91991387b2ba3fe2318 (diff)
downloadpostgresql-660cbe807596399c34e56f7ff2554a39cde0f70c.tar.gz
postgresql-660cbe807596399c34e56f7ff2554a39cde0f70c.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 be5ede40d09..2c4653f61a2 100644
--- a/doc/src/sgml/textsearch.sgml
+++ b/doc/src/sgml/textsearch.sgml
@@ -1615,9 +1615,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>