aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Gustafsson <dgustafsson@postgresql.org>2023-11-13 14:13:03 +0100
committerDaniel Gustafsson <dgustafsson@postgresql.org>2023-11-13 14:13:03 +0100
commit1cdf3844c9d437aa366b17cf76bc33ba1732902c (patch)
tree877f20941cd6bb6eba4f5cea11b6c3dcc0797fb6
parent7b6ba8c4315e5657fd90bad91c552fca58dc87fd (diff)
downloadpostgresql-1cdf3844c9d437aa366b17cf76bc33ba1732902c.tar.gz
postgresql-1cdf3844c9d437aa366b17cf76bc33ba1732902c.zip
doc: Add missing semicolon in example
One of the examples on the SELECT page was missing a semicolon from a listing which has the look and feel of being a psql session. This adds the missing semicolon and also removes the newline between the query and results to match the other examples nearby. Backpatch to all supported branches to avoid backpatching issues on this page. Reported-by: tim.needham2@gmail.com Discussion: https://postgr.es/m/169965004097.225187.12941375915673151540@wrigleys.postgresql.org Backpatch-through: v12
-rw-r--r--doc/src/sgml/ref/select.sgml3
1 files changed, 1 insertions, 2 deletions
diff --git a/doc/src/sgml/ref/select.sgml b/doc/src/sgml/ref/select.sgml
index 474ee23bf25..a940587a6c3 100644
--- a/doc/src/sgml/ref/select.sgml
+++ b/doc/src/sgml/ref/select.sgml
@@ -1850,8 +1850,7 @@ WITH t AS (
)
SELECT * FROM t
UNION ALL
-SELECT * FROM t
-
+SELECT * FROM t;
x
--------------------
0.534150459803641