8000 doc: update query section to show LIMIT/OFFSET like SELECT · postgres/postgres@8127e6e · GitHub
[go: up one dir, main page]

Skip to content

Commit 8127e6e

Browse files
committed
doc: update query section to show LIMIT/OFFSET like SELECT
The parameter names were slightly better in SELECT, so make them match. Reported-by: Euler Taveira Discussion: https://postgr.es/m/CAHE3wgh-EYuAbLG1VS3QTHii1TgWS31h-fYEgrdda7oTOuskOQ@mail.gmail.com Backpatch-through: master
1 parent b2e237a commit 8127e6e

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

doc/src/sgml/queries.sgml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1912,7 +1912,8 @@ SELECT a + b AS sum, c FROM table1 ORDER BY sum + c; -- wrong
19121912
SELECT <replaceable>select_list</replaceable>
19131913
FROM <replaceable>table_expression</replaceable>
19141914
<optional> ORDER BY ... </optional>
1915-
<optional> LIMIT { <replaceable>number</replaceable> | ALL } </optional> <optional> OFFSET <replaceable>number</replaceable> </optional>
1915+
<optional> LIMIT { <replaceable class="parameter">count</replaceable> | ALL } </optional>
1916+
<optional> OFFSET <replaceable class="parameter">start</replaceable> </optional>
19161917
</synopsis>
19171918
</para>
19181919

0 commit comments

Comments
 (0)
0