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
This commit is contained in:
parent
b2e237afdd
commit
8127e6e8ad
@ -1912,7 +1912,8 @@ SELECT a + b AS sum, c FROM table1 ORDER BY sum + c; -- wrong
|
||||
SELECT <replaceable>select_list</replaceable>
|
||||
FROM <replaceable>table_expression</replaceable>
|
||||
<optional> ORDER BY ... </optional>
|
||||
<optional> LIMIT { <replaceable>number</replaceable> | ALL } </optional> <optional> OFFSET <replaceable>number</replaceable> </optional>
|
||||
<optional> LIMIT { <replaceable class="parameter">count</replaceable> | ALL } </optional>
|
||||
<optional> OFFSET <replaceable class="parameter">start</replaceable> </optional>
|
||||
</synopsis>
|
||||
</para>
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user