In
http://www6.jp.postgresql.org/users-lounge/docs/7.2/postgres/queries-limit.html
it is stated that the syntax is:
SELECT select_list
FROM table_expression
[LIMIT { number | ALL }] [OFFSET number]
This following query is valid even though the syntax is wrong:
select id from members order by id limit 5, 6
If this "alternative" syntax is acceptable could you add this
alternative syntax to the docs? Else, the parser needs to throw an error?
SELECT select_list
FROM table_expression
[LIMIT { number | ALL }] [, [OFFSET] number]