postgres.git / summary / log / commit / refs
commit 77234f487a0420a88e420459da4fdcda7462ce3a
Author: Daniel Gustafsson <dgustafsson@postgresql.org>
Date: Mon Nov 13 13:13:03 2023 +0000
First released in: 17.0, 12.18, 13.14, 14.11, 15.6, 16.2
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
doc/src/sgml/ref/select.sgml | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/doc/src/sgml/ref/select.sgml b/doc/src/sgml/ref/select.sgml
index 711f7261724..f883a119a15 100644
--- a/doc/src/sgml/ref/select.sgml
+++ b/doc/src/sgml/ref/select.sgml
@@ -1857,8 +1857,7 @@ WITH t AS (
)
SELECT * FROM t
UNION ALL
-SELECT * FROM t
-
+SELECT * FROM t;
x
--------------------
0.534150459803641
[parent: d3d73e85aa30]