Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit c3fd6a1

Browse files
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
1 parent 06e8e71 commit c3fd6a1

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

doc/src/sgml/ref/select.sgml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1918,8 +1918,7 @@ WITH t AS (
19181918
)
19191919
SELECT * FROM t
19201920
UNION ALL
1921-
SELECT * FROM t
1922-
1921+
SELECT * FROM t;
19231922
x
19241923
--------------------
19251924
0.534150459803641

0 commit comments

Comments
 (0)