doc: Add missing semicolon in example
authorDaniel Gustafsson <[email protected]>
Mon, 13 Nov 2023 13:13:03 +0000 (14:13 +0100)
committerDaniel Gustafsson <[email protected]>
Mon, 13 Nov 2023 13:13:03 +0000 (14:13 +0100)
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: [email protected]
Discussion: https://postgr.es/m/169965004097.225187.12941375915673151540@wrigleys.postgresql.org
Backpatch-through: v12

doc/src/sgml/ref/select.sgml

index 711f7261724a173acb765cf50a623a42ed58437f..f883a119a155dcda170124af6cc1c270002f3f84 100644 (file)
@@ -1857,8 +1857,7 @@ WITH t AS (
   )
 SELECT * FROM t
 UNION ALL
-SELECT * FROM t
-
+SELECT * FROM t;
          x          
 --------------------
   0.534150459803641