summaryrefslogtreecommitdiff
path: root/doc/src/sgml/func/func-textsearch.sgml
diff options
context:
space:
mode:
authorDavid Rowley <drowley@postgresql.org>2025-11-06 16:03:02 +1300
committerDavid Rowley <drowley@postgresql.org>2025-11-06 16:03:02 +1300
commit49d43faa835f3c6817be9fc0b98bec0d661c2587 (patch)
tree7e05c18da6489861271e5e84d260ac226a362275 /doc/src/sgml/func/func-textsearch.sgml
parent6d0eba66275b125bf634bbdffda90c70856e3f93 (diff)
Doc: use uppercase keywords in SQLs
Use uppercase SQL keywords consistently throughout the documentation to ease reading. Also add whitespace in a couple of places where it improves readability. Author: Erik Wienhold <ewie@ewie.name> Reviewed-by: David Rowley <dgrowleyml@gmail.com> Discussion: https://postgr.es/m/82eb512b-8ed2-46be-b311-54ffd26978c4%40ewie.name
Diffstat (limited to 'doc/src/sgml/func/func-textsearch.sgml')
-rw-r--r--doc/src/sgml/func/func-textsearch.sgml2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/src/sgml/func/func-textsearch.sgml b/doc/src/sgml/func/func-textsearch.sgml
index a06a58f1498..290ad81d697 100644
--- a/doc/src/sgml/func/func-textsearch.sgml
+++ b/doc/src/sgml/func/func-textsearch.sgml
@@ -835,7 +835,7 @@
Expands a <type>tsvector</type> into a set of rows, one per lexeme.
</para>
<para>
- <literal>select * from unnest('cat:3 fat:2,4 rat:5A'::tsvector)</literal>
+ <literal>SELECT * FROM unnest('cat:3 fat:2,4 rat:5A'::tsvector)</literal>
<returnvalue></returnvalue>
<programlisting>
lexeme | positions | weights